small fix for show page
This commit is contained in:
parent
7fba2d782d
commit
fa272f7136
|
@ -28,6 +28,10 @@
|
||||||
<i class="ticket-external-link-icon fa fa-external-link"></i>
|
<i class="ticket-external-link-icon fa fa-external-link"></i>
|
||||||
<%= @ticket.registered_site.title %>
|
<%= @ticket.registered_site.title %>
|
||||||
</a>
|
</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>
|
||||||
<div class="ticket-wrap">
|
<div class="ticket-wrap">
|
||||||
<div class="ticket-header">
|
<div class="ticket-header">
|
||||||
|
@ -138,12 +142,14 @@
|
||||||
</a>
|
</a>
|
||||||
<ul class="ticket-category-select dropdown-menu" role="menu">
|
<ul class="ticket-category-select dropdown-menu" role="menu">
|
||||||
<% @categories.each do |category| %>
|
<% @categories.each do |category| %>
|
||||||
|
<% if @ticket.category_id.to_s != category.id.to_s %>
|
||||||
<li>
|
<li>
|
||||||
<a class="ticket-start t-item ticket-category-select-option" href="#" data-category-id="<%= category.id.to_s %>">
|
<a class="ticket-start t-item ticket-category-select-option" href="#" data-category-id="<%= category.id.to_s %>">
|
||||||
<%= category.title %>
|
<%= category.title %>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
<% end %>
|
||||||
</ul>
|
</ul>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue