khanat-code-old/code/web/public_php/ams/templates/show_ticket_log.tpl
2014-09-03 05:27:38 -07:00

35 lines
1 KiB
Smarty

{block name=content}
<div class="row-fluid sortable ui-sortable">
<div class="box col-md-12">
<div class="box-inner">
<div class="box-header well" data-original-title="">
<h2><i class="icon-tag"></i> Log of Ticket #{$ticket_id}</h2>
</div>
<div class="box-content">
<div class="row-fluid">
<legend>Title: <a href="index.php?page=show_ticket&id={$ticket_id}">{$ticket_title}</a></legend>
<table class="table table-striped table-bordered bootstrap-datatable datatable">
<thead>
<tr>
<th>ID</th>
<th>Timestamp</th>
<th>Query</th>
</tr>
</thead>
<tbody>
{foreach from=$ticket_logs item=log}
<tr>
<td>{$log.tLogId}</td>
<td><span title="{$log.timestamp_elapsed}" data-rel="tooltip" data-placement="right">{$log.timestamp}</span></td>
<td>{$log.query}</td>
</tr>
{/foreach}
</tbody>
</table>
</div>
</div>
</div>
</div><!--/span-->
</div><!--/row-->
{/block}