khanat-opennel-code/code/web/public_php/ams/templates/show_ticket_log.tpl

36 lines
1 KiB
Smarty
Raw Normal View History

2014-09-03 05:06:43 +00:00
{block name=content}
<div class="row-fluid sortable ui-sortable">
2014-09-03 10:22:14 +00:00
<div class="box col-md-12">
<div class="box-inner">
2014-09-03 05:06:43 +00:00
<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>
2014-09-03 10:22:14 +00:00
</div>
2014-09-03 05:06:43 +00:00
</div><!--/span-->
</div><!--/row-->
{/block}