Fix look and feel v8

This commit is contained in:
Laurent Destailleur 2018-06-23 12:41:03 +02:00
parent 06342ff80c
commit eb88f1e5c9
4 changed files with 13 additions and 7 deletions

View File

@ -48,7 +48,7 @@ PasswordChangeRequest=Request to change password for <b>%s</b>
PasswordChangeRequestSent=Request to change password for <b>%s</b> sent to <b>%s</b>.
ConfirmPasswordReset=Confirm password reset
MenuUsersAndGroups=Users & Groups
LastGroupsCreated=Latest %s created groups
LastGroupsCreated=Latest %s groups created
LastUsersCreated=Latest %s users created
ShowGroup=Show group
ShowUser=Show user

View File

@ -302,10 +302,12 @@ if ($result)
print '<div class="div-table-responsive-no-min">';
print '<table class="noborder" width="100%">';
$colnb=5;
$colnb=4;
if (empty($conf->global->PRODUIT_MULTIPRICES)) $colnb++;
print '<tr class="liste_titre"><th colspan="'.$colnb.'">'.$transRecordedType.'</th></tr>';
print '<tr class="liste_titre"><th colspan="'.$colnb.'">'.$transRecordedType.'</th>';
print '<th class="right"><a href="'.DOL_URL_ROOT.'/product/list.php?sortfield=p.tms&sortorder=DESC">'.$langs->trans("FullList").'</td>';
print '</tr>';
while ($i < $num)
{

View File

@ -296,7 +296,7 @@ if ($result)
print '<tr class="liste_titre"><th colspan="2">'.$transRecordedType.'</th>';
print '<th>&nbsp;</th>';
print '<th align="right">'.$langs->trans('Status').'</th>';
print '<th class="right"><a href="'.DOL_URL_ROOT.'/societe/list.php?sortfield=s.tms&sortorder=DESC">'.$langs->trans("FullList").'</th>';
print '</tr>'."\n";
while ($i < $num)

View File

@ -124,7 +124,9 @@ if ($resql)
{
$num = $db->num_rows($resql);
print '<table class="noborder" width="100%">';
print '<tr class="liste_titre"><td colspan="5">'.$langs->trans("LastUsersCreated",min($num,$max)).'</td></tr>';
print '<tr class="liste_titre"><td colspan="4">'.$langs->trans("LastUsersCreated",min($num,$max)).'</td>';
print '<td class="right"><a class="commonlink" href="'.DOL_URL_ROOT.'/user/list.php?sortfield=u.datec&sortorder=DESC">'.$langs->trans("FullList").'</td>';
print '</tr>';
$i = 0;
while ($i < $num && $i < $max)
@ -233,11 +235,13 @@ if ($canreadperms)
$resql=$db->query($sql);
if ($resql)
{
$colspan=2;
$colspan=1;
if (! empty($conf->multicompany->enabled)) $colspan++;
$num = $db->num_rows($resql);
print '<table class="noborder" width="100%">';
print '<tr class="liste_titre"><td colspan="'.$colspan.'">'.$langs->trans("LastGroupsCreated",($num ? $num : $max)).'</td></tr>';
print '<tr class="liste_titre"><td colspan="'.$colspan.'">'.$langs->trans("LastGroupsCreated",($num ? $num : $max)).'</td>';
print '<td class="right"><a class="commonlink" href="'.DOL_URL_ROOT.'/user/group/list.php?sortfield=g.datec&sortorder=DESC">'.$langs->trans("FullList").'</td>';
print '</tr>';
$i = 0;
$grouptemp = new UserGroup($db);