Merge pull request #11362 from aspangaro/10.0_index

Responsive on project index
This commit is contained in:
Laurent Destailleur 2019-06-20 03:35:13 +02:00 committed by GitHub
commit 980239e617
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -134,6 +134,7 @@ if (! empty($conf->holiday->enabled))
{
$user_id = $user->id;
print '<div class="div-table-responsive-no-min">';
print '<table class="noborder nohover" width="100%">';
print '<tr class="liste_titre"><th colspan="3">'.$langs->trans("Holidays").'</th></tr>';
print "<tr ".$bc[0].">";
@ -152,7 +153,7 @@ if (! empty($conf->holiday->enabled))
print '</td>';
print '</tr>';
print '</table><br>';
print '</table></div><br>';
}
elseif (! is_numeric($conf->global->HOLIDAY_HIDE_BALANCE))
{

View File

@ -179,6 +179,7 @@ $sql.= $db->plimit($max, 0);
$resql=$db->query($sql);
if ($resql)
{
print '<div class="div-table-responsive-no-min">';
print '<table class="noborder" width="100%">';
print '<tr class="liste_titre">';
print '<th colspan="4">'.$langs->trans("LatestModifiedProjects", $max).'</th></tr>';
@ -242,7 +243,7 @@ if ($resql)
$i++;
}
}
print "</table><br>";
print "</table></div><br>";
}
else dol_print_error($db);