Look adn feel v12
This commit is contained in:
parent
206b16410e
commit
dca3f3b31f
@ -380,8 +380,7 @@ class ActionsTicket
|
|||||||
global $langs;
|
global $langs;
|
||||||
|
|
||||||
print '<div class="div-table-responsive-no-min margintoponly">';
|
print '<div class="div-table-responsive-no-min margintoponly">';
|
||||||
print '<div class="tagtable centpercent">';
|
print '<div class="centpercent right">';
|
||||||
print '<div class="tagtr">';
|
|
||||||
// Exclude status which requires specific method
|
// Exclude status which requires specific method
|
||||||
$exclude_status = array(Ticket::STATUS_CLOSED, Ticket::STATUS_CANCELED);
|
$exclude_status = array(Ticket::STATUS_CLOSED, Ticket::STATUS_CANCELED);
|
||||||
// Exclude actual status
|
// Exclude actual status
|
||||||
@ -392,7 +391,7 @@ class ActionsTicket
|
|||||||
|
|
||||||
foreach ($object->statuts_short as $status => $status_label) {
|
foreach ($object->statuts_short as $status => $status_label) {
|
||||||
if (!in_array($status, $exclude_status)) {
|
if (!in_array($status, $exclude_status)) {
|
||||||
print '<div class="tagtd center">';
|
print '<div class="inline-block center marginbottomonly">';
|
||||||
|
|
||||||
if ($status == 1)
|
if ($status == 1)
|
||||||
{
|
{
|
||||||
@ -403,13 +402,13 @@ class ActionsTicket
|
|||||||
$urlforbutton = $_SERVER['PHP_SELF'].'?track_id='.$object->track_id.'&action=set_status&new_status='.$status;
|
$urlforbutton = $_SERVER['PHP_SELF'].'?track_id='.$object->track_id.'&action=set_status&new_status='.$status;
|
||||||
}
|
}
|
||||||
|
|
||||||
print '<a class="butAction buttonticket" href="'.$urlforbutton.'">';
|
print '<a class="butAction buttonticket marginbottomonly" href="'.$urlforbutton.'">';
|
||||||
print img_picto($langs->trans($object->statuts_short[$status]), 'statut'.$status.'.png@ticket').' '.$langs->trans($object->statuts_short[$status]);
|
print img_picto($langs->trans($object->statuts_short[$status]), 'statut'.$status.'.png@ticket').' '.$langs->trans($object->statuts_short[$status]);
|
||||||
print '</a>';
|
print '</a>';
|
||||||
print '</div>';
|
print '</div>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
print '</div></div></div><br>';
|
print '</div></div><br>';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user