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 TicketMessagesList=Message list
NoMsgForThisTicket=No message for this ticket NoMsgForThisTicket=No message for this ticket
Properties=Classification Properties=Classification
LatestNewTickets=Last %s tickets newest (not read) LatestNewTickets=Latest %s newest tickets (not read)
TicketSeverity=Severity TicketSeverity=Severity
ShowTicket=See ticket ShowTicket=See ticket
RelatedTickets=Related tickets 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 { div.fiche>div.tabBar>form>div.div-table-responsive {
min-height: 392px; min-height: 392px;
} }
div.fiche {
text-align: justify;
}
.flexcontainer { .flexcontainer {
<?php if (in_array($conf->browser->name, array('chrome','firefox'))) echo 'display: inline-flex;'."\n"; ?> <?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 { .boxstats, .boxstats130 {
margin: 3px; margin: 3px;
border: 1px solid #ccc; /*border: 1px solid #ccc;
box-shadow: none; box-shadow: none; */
} }
.boxstats130 { .boxstats130 {
text-align: <?php echo $left; ?> 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 ($this->fetch(GETPOST('id', 'int'), GETPOST('track_id', 'alpha')) >= 0) {
if ($object->delete($user) > 0) { if ($object->delete($user) > 0) {
setEventMessages('<div class="confirm">' . $langs->trans('TicketDeletedSuccess') . '</div>', null, 'mesgs'); setEventMessages('<div class="confirm">' . $langs->trans('TicketDeletedSuccess') . '</div>', null, 'mesgs');
Header("Location: index.php"); Header("Location: ".DOL_URL_ROOT."/ticketsup/list.php");
exit; exit;
} else { } else {
$langs->load("errors"); $langs->load("errors");

View File

@ -300,6 +300,8 @@ if ($result) {
$i = 0; $i = 0;
$transRecordedType = $langs->trans("LatestNewTickets", $max); $transRecordedType = $langs->trans("LatestNewTickets", $max);
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"><th>' . $transRecordedType . '</th>'; print '<tr class="liste_titre"><th>' . $transRecordedType . '</th>';
print '<th>' . $langs->trans('Ref') . '</th>'; print '<th>' . $langs->trans('Ref') . '</th>';
@ -355,6 +357,7 @@ if ($result) {
} }
print "</table>"; print "</table>";
print '</div>';
} else { } else {
dol_print_error($db); dol_print_error($db);
} }

View File

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