small fix for show page

This commit is contained in:
Harry Bomrah 2015-09-04 16:20:01 +08:00
parent 7fba2d782d
commit fa272f7136
1 changed files with 11 additions and 5 deletions

View File

@ -28,6 +28,10 @@
<i class="ticket-external-link-icon fa fa-external-link"></i>
<%= @ticket.registered_site.title %>
</a>
<a href="/admin/tickets/search?keywords=sitename%3A+<%= @ticket.registered_site.title %>" target="_blank" class="btn btn-normal">
<i class="ticket-external-link-icon fa fa-search"></i>
Search tickets from <b><i><%= @ticket.registered_site.title %></i></b>
</a>
</div>
<div class="ticket-wrap">
<div class="ticket-header">
@ -138,12 +142,14 @@
</a>
<ul class="ticket-category-select dropdown-menu" role="menu">
<% @categories.each do |category| %>
<% if @ticket.category_id.to_s != category.id.to_s %>
<li>
<a class="ticket-start t-item ticket-category-select-option" href="#" data-category-id="<%= category.id.to_s %>">
<%= category.title %>
</a>
</li>
<% end %>
<% end %>
</ul>
</span>
</div>