Added clock to bottom, changed icons for reply vs cust reply

merge-requests/27/head
Mike Koch 8 years ago
parent ee979cf15b
commit 03765bb798

@ -1674,7 +1674,11 @@ function hesk_printTicketReplies()
$reply['dt'] = hesk_date($reply['dt'], true); $reply['dt'] = hesk_date($reply['dt'], true);
?> ?>
<li> <li>
<i class="fa fa-reply bg-blue"></i> <?php if ($reply['staffid']): ?>
<i class="fa fa-reply bg-orange"></i>
<?php else: ?>
<i class="fa fa-share bg-blue"></i>
<?php endif; ?>
<div class="timeline-item"> <div class="timeline-item">
<span class="time"><i class="fa fa-clock-o"></i> <?php echo $reply['dt']; ?></span> <span class="time"><i class="fa fa-clock-o"></i> <?php echo $reply['dt']; ?></span>
<h3 class="timeline-header"><?php echo $reply['name']; ?></h3> <h3 class="timeline-header"><?php echo $reply['name']; ?></h3>
@ -1693,36 +1697,34 @@ function hesk_printTicketReplies()
<?php mfh_listAttachments($reply['attachments'], $reply['id'], true); ?> <?php mfh_listAttachments($reply['attachments'], $reply['id'], true); ?>
</div> </div>
<?php endif; ?> <?php endif; ?>
<div class="timeline-footer text-right"> <div class="timeline-footer">
<?php echo hesk_getAdminButtonsInTicket(); ?> <div class="row">
</div> <div class="col-md-6">
</div> <?php
</li><div class="row ticketMessageContainer"> /* Staff rating */
<div class="col-md-3 col-xs-12"> if ($hesk_settings['rating'] && $reply['staffid']) {
<div class="ticketName"></div> if ($reply['rating'] == 1) {
</div> echo '<p class="rate">' . $hesklang['rnh'] . '</p>';
<div class="col-md-9 col-xs-12 pushMarginLeft"> } elseif ($reply['rating'] == 5) {
<div class="ticketMessageTop pushMargin"> echo '<p class="rate">' . $hesklang['rh'] . '</p>';
<?php }
/* Staff rating */ }
if ($hesk_settings['rating'] && $reply['staffid']) { /* Show "unread reply" message? */
if ($reply['rating'] == 1) { if ($reply['staffid'] && !$reply['read']) {
echo '<p class="rate">' . $hesklang['rnh'] . '</p>'; echo '<p class="rate">' . $hesklang['unread'] . '</p>';
} elseif ($reply['rating'] == 5) { }
echo '<p class="rate">' . $hesklang['rh'] . '</p>'; ?>
} </div>
} <div class="col-md-6 text-right">
<?php echo hesk_getAdminButtonsInTicket(); ?>
/* Show "unread reply" message? */ </div>
if ($reply['staffid'] && !$reply['read']) { </div>
echo '<p class="rate">' . $hesklang['unread'] . '</p>';
}
?>
</div> </div>
</div> </div>
</div> </li>
<?php <?php
} }
echo '<li><i class="fa fa-clock-o bg-gray"></i></li>';
echo '</ul>'; echo '</ul>';
return; return;

@ -113,4 +113,8 @@
.file-row p.name { .file-row p.name {
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
}
.timeline-footer {
border-top: 1px solid #f4f4f4;
} }
Loading…
Cancel
Save