Merge branch '15.0' of https://github.com/Dolibarr/dolibarr into 15_fix_template_modbuilder

This commit is contained in:
Florian HENRY 2022-05-18 22:25:38 +02:00
commit a70274dc47
4 changed files with 8 additions and 6 deletions

View File

@ -1466,7 +1466,7 @@ while ($i < min($num, $limit)) {
}
// Address
if (!empty($arrayfields['s.address']['checked'])) {
print '<td>'.dol_escape_htmltag($obj->address).'</td>';
print '<td class="tdoverflowmax250" title="'.dol_escape_htmltag($obj->address).'">'.dol_escape_htmltag($obj->address).'</td>';
if (!$i) {
$totalarray['nbfield']++;
}
@ -1673,7 +1673,7 @@ while ($i < min($num, $limit)) {
print $hookmanager->resPrint;
// Date creation
if (!empty($arrayfields['s.datec']['checked'])) {
print '<td class="center nowrap">';
print '<td class="center nowraponall">';
print dol_print_date($db->jdate($obj->date_creation), 'dayhour', 'tzuser');
print '</td>';
if (!$i) {
@ -1682,7 +1682,7 @@ while ($i < min($num, $limit)) {
}
// Date modification
if (!empty($arrayfields['s.tms']['checked'])) {
print '<td class="center nowrap">';
print '<td class="center nowraponall">';
print dol_print_date($db->jdate($obj->date_update), 'dayhour', 'tzuser');
print '</td>';
if (!$i) {
@ -1691,7 +1691,7 @@ while ($i < min($num, $limit)) {
}
// Status
if (!empty($arrayfields['s.status']['checked'])) {
print '<td class="center nowrap">'.$companystatic->getLibStatut(5).'</td>';
print '<td class="center nowraponall">'.$companystatic->getLibStatut(5).'</td>';
if (!$i) {
$totalarray['nbfield']++;
}

View File

@ -3481,6 +3481,8 @@ div .tdtop {
vertical-align: top !important;
/*padding-top: 10px !important;
padding-bottom: 2px !important; */
padding-top: 6px !important;
padding-bottom: 4px !important;
}
table.border td, table.bordernooddeven td, div.border div div.tagtd {

View File

@ -4144,7 +4144,7 @@ div.tabBar .noborder {
}
div .tdtop {
vertical-align: top !important;
padding-top: 5px !important;
padding-top: 8px !important;
padding-bottom: 0px !important;
}

View File

@ -1707,7 +1707,7 @@ if ($action == 'create' || $action == 'adduserldap') {
print "</td></tr>\n";
// VCard
print '<tr><td class="tdtop">'.$langs->trans("VCard").'</td>';
print '<tr><td>'.$langs->trans("VCard").'</td>';
print '<td>';
print '<a href="'.DOL_URL_ROOT.'/user/vcard.php?id='.$object->id.'">';
print img_picto($langs->trans("Download"), 'vcard.png', 'class="paddingrightonly"');