Fixed ticket view on ticket.php for mobile devices

merge-requests/2/head
Mike Koch 10 years ago
parent 3cc7c9ed07
commit 9e0f4ba01a

@ -98,6 +98,7 @@
font-size: 20px; font-size: 20px;
font-weight: 300; font-weight: 300;
color: #000; color: #000;
margin-top: 5px;
} }
.ticketEmail { .ticketEmail {
font-size: 14px; font-size: 14px;

@ -319,12 +319,12 @@ require_once(HESK_PATH . 'inc/header.inc.php');
/* Make sure original message is in correct color if newest are on top */ /* Make sure original message is in correct color if newest are on top */
$color = 'class="ticketMessageContainer"'; $color = 'class="ticketMessageContainer"';
?> ?>
<div <?php echo $color; ?>> <div class="row ticketMessageContainer">
<div class="ticketHeader"> <div class="col-md-3 col-xs-12">
<div class="ticketName"><?php echo $ticket['name']; ?></div> <div class="ticketName"><?php echo $ticket['name']; ?></div>
<div class="ticketEmail"><?php echo $ticket['email']; ?></div> <div class="ticketEmail"><?php echo $ticket['email']; ?></div>
</div> </div>
<div class="ticketMessage"> <div class="col-md-9 col-xs-12 pushMarginLeft">
<div class="ticketMessageTop withBorder"> <div class="ticketMessageTop withBorder">
<!-- Date and Action buttons --> <!-- Date and Action buttons -->
<p><?php echo $hesklang['date']; ?>: <?php echo hesk_date($ticket['dt']); ?><span style="float: right"><?php echo hesk_getCustomerButtons($i); ?></span></p> <p><?php echo $hesklang['date']; ?>: <?php echo hesk_date($ticket['dt']); ?><span style="float: right"><?php echo hesk_getCustomerButtons($i); ?></span></p>
@ -340,11 +340,10 @@ require_once(HESK_PATH . 'inc/header.inc.php');
} }
?> ?>
</div> </div>
<div class="ticketMessageBottom"> <div class="ticketMessageBottom">
<!-- Message --> <!-- Message -->
<p><b><?php echo $hesklang['message']; ?>:</b></p> <p><b><?php echo $hesklang['message']; ?>:</b></p>
<p><?php echo $ticket['message']; ?><br />&nbsp;</p> <p class="message"><?php echo $ticket['message']; ?><br />&nbsp;</p>
</div> </div>
<div class="ticketMessageTop"> <div class="ticketMessageTop">
<!-- Custom Fields after Message --> <!-- Custom Fields after Message -->
@ -363,7 +362,6 @@ require_once(HESK_PATH . 'inc/header.inc.php');
</div> </div>
</div> </div>
</div> </div>
<?php <?php
if ( ! $hesk_settings['new_top']) if ( ! $hesk_settings['new_top'])
{ {
@ -594,11 +592,12 @@ function hesk_printCustomerTicketReplies()
$reply['dt'] = hesk_date($reply['dt']); $reply['dt'] = hesk_date($reply['dt']);
?> ?>
<div <?php echo $color; ?>>
<div class="ticketHeader"> <div class="row ticketMessageContainer">
<div class="col-md-3 col-xs-12">
<div class="ticketName"><?php echo $reply['name']; ?></div> <div class="ticketName"><?php echo $reply['name']; ?></div>
</div> </div>
<div class="ticketMessage"> <div class="col-md-9 col-xs-12 pushMarginLeft">
<div class="ticketMessageTop withBorder"> <div class="ticketMessageTop withBorder">
<p><?php echo $hesklang['date']; ?>: <?php echo $reply['dt']; ?><span style="float: right;"><?php echo hesk_getCustomerButtons($i); ?></span></p> <p><?php echo $hesklang['date']; ?>: <?php echo $reply['dt']; ?><span style="float: right;"><?php echo hesk_getCustomerButtons($i); ?></span></p>
<?php <?php
@ -627,8 +626,9 @@ function hesk_printCustomerTicketReplies()
?> ?>
</div> </div>
<div class="ticketMessageBottom"> <div class="ticketMessageBottom">
<!-- Message -->
<p><b><?php echo $hesklang['message']; ?>:</b></p> <p><b><?php echo $hesklang['message']; ?>:</b></p>
<p><?php echo $reply['message']; ?></p> <p class="message"><?php echo $reply['message']; ?></p>
</div> </div>
<div class="ticketMessageTop"> <div class="ticketMessageTop">
<?php hesk_listAttachments($reply['attachments'],$i);?> <?php hesk_listAttachments($reply['attachments'],$i);?>

Loading…
Cancel
Save