Merge pull request #11362 from aspangaro/10.0_index
Responsive on project index
This commit is contained in:
commit
980239e617
@ -134,6 +134,7 @@ if (! empty($conf->holiday->enabled))
|
|||||||
{
|
{
|
||||||
$user_id = $user->id;
|
$user_id = $user->id;
|
||||||
|
|
||||||
|
print '<div class="div-table-responsive-no-min">';
|
||||||
print '<table class="noborder nohover" width="100%">';
|
print '<table class="noborder nohover" width="100%">';
|
||||||
print '<tr class="liste_titre"><th colspan="3">'.$langs->trans("Holidays").'</th></tr>';
|
print '<tr class="liste_titre"><th colspan="3">'.$langs->trans("Holidays").'</th></tr>';
|
||||||
print "<tr ".$bc[0].">";
|
print "<tr ".$bc[0].">";
|
||||||
@ -152,7 +153,7 @@ if (! empty($conf->holiday->enabled))
|
|||||||
|
|
||||||
print '</td>';
|
print '</td>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
print '</table><br>';
|
print '</table></div><br>';
|
||||||
}
|
}
|
||||||
elseif (! is_numeric($conf->global->HOLIDAY_HIDE_BALANCE))
|
elseif (! is_numeric($conf->global->HOLIDAY_HIDE_BALANCE))
|
||||||
{
|
{
|
||||||
|
|||||||
@ -179,6 +179,7 @@ $sql.= $db->plimit($max, 0);
|
|||||||
$resql=$db->query($sql);
|
$resql=$db->query($sql);
|
||||||
if ($resql)
|
if ($resql)
|
||||||
{
|
{
|
||||||
|
print '<div class="div-table-responsive-no-min">';
|
||||||
print '<table class="noborder" width="100%">';
|
print '<table class="noborder" width="100%">';
|
||||||
print '<tr class="liste_titre">';
|
print '<tr class="liste_titre">';
|
||||||
print '<th colspan="4">'.$langs->trans("LatestModifiedProjects", $max).'</th></tr>';
|
print '<th colspan="4">'.$langs->trans("LatestModifiedProjects", $max).'</th></tr>';
|
||||||
@ -242,7 +243,7 @@ if ($resql)
|
|||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
print "</table><br>";
|
print "</table></div><br>";
|
||||||
}
|
}
|
||||||
else dol_print_error($db);
|
else dol_print_error($db);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user