Dolibarrize module ticket

This commit is contained in:
Laurent Destailleur
2018-03-18 20:20:10 +01:00
parent af44af0235
commit 1bb4f3e07a
5 changed files with 11 additions and 5 deletions

View File

@@ -180,7 +180,7 @@ TicketMessageSuccessfullyAdded=Message successfully added
TicketMessagesList=Message list
NoMsgForThisTicket=No message for this ticket
Properties=Classification
LatestNewTickets=Last %s tickets newest (not read)
LatestNewTickets=Latest %s newest tickets (not read)
TicketSeverity=Severity
ShowTicket=See ticket
RelatedTickets=Related tickets

View File

@@ -830,6 +830,9 @@ div.fiche>form>div.div-table-responsive {
div.fiche>div.tabBar>form>div.div-table-responsive {
min-height: 392px;
}
div.fiche {
text-align: justify;
}
.flexcontainer {
<?php if (in_array($conf->browser->name, array('chrome','firefox'))) echo 'display: inline-flex;'."\n"; ?>
@@ -3117,8 +3120,8 @@ ul.noborder li:nth-child(even):not(.liste_titre) {
{
.boxstats, .boxstats130 {
margin: 3px;
border: 1px solid #ccc;
box-shadow: none;
/*border: 1px solid #ccc;
box-shadow: none; */
}
.boxstats130 {
text-align: <?php echo $left; ?>

View File

@@ -464,7 +464,7 @@ class ActionsTicketsup
if ($this->fetch(GETPOST('id', 'int'), GETPOST('track_id', 'alpha')) >= 0) {
if ($object->delete($user) > 0) {
setEventMessages('<div class="confirm">' . $langs->trans('TicketDeletedSuccess') . '</div>', null, 'mesgs');
Header("Location: index.php");
Header("Location: ".DOL_URL_ROOT."/ticketsup/list.php");
exit;
} else {
$langs->load("errors");

View File

@@ -300,6 +300,8 @@ if ($result) {
$i = 0;
$transRecordedType = $langs->trans("LatestNewTickets", $max);
print '<div class="div-table-responsive-no-min">';
print '<table class="noborder" width="100%">';
print '<tr class="liste_titre"><th>' . $transRecordedType . '</th>';
print '<th>' . $langs->trans('Ref') . '</th>';
@@ -355,6 +357,7 @@ if ($result) {
}
print "</table>";
print '</div>';
} else {
dol_print_error($db);
}

View File

@@ -17,7 +17,7 @@
*/
/**
* Tickets List
* Tickets List
*
* @package ticketsup
*/