Look and feel v22

This commit is contained in:
ldestailleur 2025-03-29 16:46:35 +01:00
parent 55fab0fbe5
commit 6398c2ee82
4 changed files with 5 additions and 3 deletions

View file

@ -775,7 +775,7 @@ while ($i < $imaxinloop) {
if (!empty($arrayfields['t.'.$key]['checked'])) {
print '<td'.($cssforfield ? ' class="'.$cssforfield.((preg_match('/tdoverflow/', $cssforfield) && !in_array($val['type'], array('ip', 'url')) && !is_numeric($object->$key)) ? ' classfortooltip' : '').'"' : '');
if (preg_match('/tdoverflow/', $cssforfield) && !in_array($val['type'], array('ip', 'url')) && !is_numeric($object->$key) && !in_array($key, array('ref'))) {
if (preg_match('/tdoverflow/', $cssforfield) && !in_array($val['type'], array('ip', 'url')) && !is_numeric($object->$key) && !in_array($key, array('ref', 'label'))) {
print ' title="'.dol_escape_htmltag((string) $object->$key).'"';
}
print '>';

View file

@ -150,9 +150,11 @@ foreach ($fulltree as $key => $val) {
// Add column counter
$entry .= $counter;
/*
$entry .= '<td class="right" width="30px;">';
$entry .= '<a href="'.DOL_URL_ROOT.'/categories/viewcat.php?id='.$val['id'].'&type='.urlencode($type).$param.'&backtolist='.urlencode($_SERVER["PHP_SELF"].'?type='.urlencode($type)).'">'.img_view().'</a>';
$entry .= '</td>';
*/
$entry .= '<td class="right" width="30px;">';
if ($user->hasRight('categorie', 'creer')) {
$entry .= '<a class="editfielda" href="' . DOL_URL_ROOT . '/categories/edit.php?id=' . $val['id'] . '&type=' . urlencode($type) . $param . '&backtopage=' . urlencode($_SERVER["PHP_SELF"] . '?type=' . urlencode($type)) . '">' . img_edit() . '</a>';

View file

@ -4235,7 +4235,7 @@ div .tdtop:not(.tagtdnote) {
vertical-align: top !important;
/*padding-top: 10px !important;
padding-bottom: 2px !important; */
padding-top: 7px !important;
padding-top: 8px !important;
padding-bottom: 0px !important;
height: unset !important;
}

View file

@ -5066,7 +5066,7 @@ div.tabBar .noborder {
}
div .tdtop:not(.tagtdnote) {
vertical-align: top !important;
padding-top: 8px !important;
padding-top: 6px !important;
padding-bottom: 0px !important;
}