Display created time of query in show page.
This commit is contained in:
parent
efb805b810
commit
b06747ad6d
|
@ -1,5 +1,10 @@
|
||||||
<div class="ticket-query-wrap">
|
<div class="ticket-query-wrap">
|
||||||
<div class="query ticket-query">
|
<div class="query ticket-query">
|
||||||
|
<span class="query-created-date t-label t-label-primary">
|
||||||
|
<i class="icon-time"></i>
|
||||||
|
<% dt = query.created_at %> <%= dt.strftime("%d %B %Y - %H:%M") %>
|
||||||
|
</span>
|
||||||
|
<div style="clear: both;"></div>
|
||||||
<%= smart_links_parser(query.query, @ticket.registered_site).html_safe %>
|
<%= smart_links_parser(query.query, @ticket.registered_site).html_safe %>
|
||||||
</div>
|
</div>
|
||||||
<div class="ticket-response t-depth-1">
|
<div class="ticket-response t-depth-1">
|
||||||
|
@ -46,3 +51,12 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<style type="text/css">
|
||||||
|
.query-created-date{
|
||||||
|
background-color: cyan;
|
||||||
|
}
|
||||||
|
.ticket-query{
|
||||||
|
border: 0.1em solid gray;
|
||||||
|
margin-bottom: 0.5em;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
Loading…
Reference in New Issue