Better responsive

This commit is contained in:
Laurent Destailleur 2020-11-22 01:16:32 +01:00
parent 74126e97f3
commit 6ac1f98ed0

View File

@ -1753,7 +1753,7 @@ if ($action == 'create' || $action == 'adduserldap')
$s .= $societe->getNomUrl(1, ''); $s .= $societe->getNomUrl(1, '');
} }
} else { } else {
$s .= $langs->trans("ThisUserIsNot"); $s .= '<span class="opacitymedium hideonsmartphone">'.$langs->trans("ThisUserIsNot").'</span>';
} }
if (!empty($object->contact_id)) if (!empty($object->contact_id))
{ {
@ -1783,7 +1783,7 @@ if ($action == 'create' || $action == 'adduserldap')
$adh->ref = $adh->getFullname($langs); // Force to show login instead of id $adh->ref = $adh->getFullname($langs); // Force to show login instead of id
print $adh->getNomUrl(-1); print $adh->getNomUrl(-1);
} else { } else {
print $langs->trans("UserNotLinkedToMember"); print '<span class="opacitymedium hideonsmartphone">'.$langs->trans("UserNotLinkedToMember").'</span>';
} }
print '</td>'; print '</td>';
print '</tr>'."\n"; print '</tr>'."\n";
@ -2531,9 +2531,9 @@ if ($action == 'create' || $action == 'adduserldap')
print ' / <a href="'.DOL_URL_ROOT.'/contact/card.php?id='.$object->contact_id.'">'.img_object($langs->trans("ShowContact"), 'contact').' '.dol_trunc($contact->getFullName($langs), 32).'</a>'; print ' / <a href="'.DOL_URL_ROOT.'/contact/card.php?id='.$object->contact_id.'">'.img_object($langs->trans("ShowContact"), 'contact').' '.dol_trunc($contact->getFullName($langs), 32).'</a>';
} }
} else { } else {
print $langs->trans("ThisUserIsNot"); print '<span class="opacitymedium hideonsmartphone">'.$langs->trans("ThisUserIsNot").'</span>';
} }
print ' ('.$langs->trans("UseTypeFieldToChange").')'; print ' <span class="opacitymedium hideonsmartphone">('.$langs->trans("UseTypeFieldToChange").')</span>';
print '</td>'; print '</td>';
print "</tr>\n"; print "</tr>\n";
} }
@ -2551,7 +2551,7 @@ if ($action == 'create' || $action == 'adduserldap')
$adh->ref = $adh->login; // Force to show login instead of id $adh->ref = $adh->login; // Force to show login instead of id
print $adh->getNomUrl(1); print $adh->getNomUrl(1);
} else { } else {
print $langs->trans("UserNotLinkedToMember"); print '<span class="opacitymedium hideonsmartphone">'.$langs->trans("UserNotLinkedToMember").'</span>';
} }
print '</td>'; print '</td>';
print "</tr>\n"; print "</tr>\n";