Fix translation and css

This commit is contained in:
Laurent Destailleur 2017-11-04 15:21:35 +01:00
parent e78406e120
commit 141bef0b8a
4 changed files with 10 additions and 10 deletions

View File

@ -141,7 +141,7 @@ RowMaterial=Raw Material
CloneProduct=Clone product or service CloneProduct=Clone product or service
ConfirmCloneProduct=Are you sure you want to clone product or service <b>%s</b>? ConfirmCloneProduct=Are you sure you want to clone product or service <b>%s</b>?
CloneContentProduct=Clone all main informations of product/service CloneContentProduct=Clone all main informations of product/service
ClonePricesProduct=Clone main informations and prices ClonePricesProduct=Clone prices
CloneCompositionProduct=Clone packaged product/service CloneCompositionProduct=Clone packaged product/service
CloneCombinationsProduct=Clone product variants CloneCombinationsProduct=Clone product variants
ProductIsUsed=This product is used ProductIsUsed=This product is used

View File

@ -762,23 +762,23 @@ else
// Ref // Ref
if (! empty($arrayfields['p.ref']['checked'])) if (! empty($arrayfields['p.ref']['checked']))
{ {
print '<td class="nowrap">'; print '<td class="tdoverflowmax150">';
print $product_static->getNomUrl(1,'',24); print $product_static->getNomUrl(1);
print "</td>\n"; print "</td>\n";
if (! $i) $totalarray['nbfield']++; if (! $i) $totalarray['nbfield']++;
} }
// Ref supplier // Ref supplier
if (! empty($arrayfields['pfp.ref_fourn']['checked'])) if (! empty($arrayfields['pfp.ref_fourn']['checked']))
{ {
print '<td class="nowrap">'; print '<td class="tdoverflowmax150">';
print $product_static->getNomUrl(1,'',24); print $product_static->getNomUrl(1);
print "</td>\n"; print "</td>\n";
if (! $i) $totalarray['nbfield']++; if (! $i) $totalarray['nbfield']++;
} }
// Label // Label
if (! empty($arrayfields['p.label']['checked'])) if (! empty($arrayfields['p.label']['checked']))
{ {
print '<td>'.dol_trunc($obj->label,40).'</td>'; print '<td class="tdoverflowmax200">'.dol_trunc($obj->label,40).'</td>';
if (! $i) $totalarray['nbfield']++; if (! $i) $totalarray['nbfield']++;
} }

View File

@ -701,8 +701,8 @@ div.myavailability {
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
} }
.tdoverflowmax200 { /* For tdoverflow, the max-midth become a minimum ! */ .tdoverflowmax150 { /* For tdoverflow, the max-midth become a minimum ! */
max-width: 200px; max-width: 150px;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;

View File

@ -708,8 +708,8 @@ div.myavailability {
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
} }
.tdoverflowmax200 { /* For tdoverflow, the max-midth become a minimum ! */ .tdoverflowmax150 { /* For tdoverflow, the max-midth become a minimum ! */
max-width: 200px; max-width: 150px;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;