fix sticker CI
This commit is contained in:
parent
413bb10913
commit
49d009502c
@ -8694,46 +8694,35 @@ function StartSimpleTableHeader($header, $link = "", $arguments = "", $emptyRows
|
|||||||
|
|
||||||
print $langs->trans($header);
|
print $langs->trans($header);
|
||||||
|
|
||||||
if ($number > -1)
|
// extra space between the first header and the number
|
||||||
{
|
if ($number > -1) {
|
||||||
// extra space between the first header and the number
|
|
||||||
print ' ';
|
print ' ';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($link))
|
if (!empty($link)) {
|
||||||
{
|
if (!empty($arguments)) {
|
||||||
if (!empty($arguments))
|
|
||||||
{
|
|
||||||
print '<a href="'.DOL_URL_ROOT.'/'.$link.'?'.$arguments.'">';
|
print '<a href="'.DOL_URL_ROOT.'/'.$link.'?'.$arguments.'">';
|
||||||
}
|
} else {
|
||||||
else
|
|
||||||
{
|
|
||||||
print '<a href="'.DOL_URL_ROOT.'/'.$link.'">';
|
print '<a href="'.DOL_URL_ROOT.'/'.$link.'">';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($number > -1)
|
if ($number > -1) {
|
||||||
{
|
|
||||||
print '<span class="badge">'.$number.'</span>';
|
print '<span class="badge">'.$number.'</span>';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($link))
|
if (!empty($link)) {
|
||||||
{
|
|
||||||
print '</a>';
|
print '</a>';
|
||||||
}
|
}
|
||||||
|
|
||||||
print '</th>';
|
print '</th>';
|
||||||
|
|
||||||
if ($number < 0 && !empty($link))
|
if ($number < 0 && !empty($link)) {
|
||||||
{
|
|
||||||
print '<th class="right">';
|
print '<th class="right">';
|
||||||
|
|
||||||
if (!empty($arguments))
|
if (!empty($arguments)) {
|
||||||
{
|
|
||||||
print '<a class="commonlink" href="'.DOL_URL_ROOT.'/'.$link.'?'.$arguments.'">';
|
print '<a class="commonlink" href="'.DOL_URL_ROOT.'/'.$link.'?'.$arguments.'">';
|
||||||
}
|
} else {
|
||||||
else
|
|
||||||
{
|
|
||||||
print '<a class="commonlink" href="'.DOL_URL_ROOT.'/'.$link.'">';
|
print '<a class="commonlink" href="'.DOL_URL_ROOT.'/'.$link.'">';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user