tickets/app/views/admin/tickets_manage/search.html.erb

26 lines
1.1 KiB
Plaintext
Raw Normal View History

2015-08-18 18:28:47 +00:00
<% content_for :page_specific_css do %>
2015-08-25 10:49:47 +00:00
<%= stylesheet_link_tag "https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css" %>
<%= stylesheet_link_tag "https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" %>
<%= stylesheet_link_tag "tickets/ticket_index" %>
2015-08-18 18:28:47 +00:00
<% end %>
<%= render :partial => "search_form" %>
2015-08-25 10:49:47 +00:00
<div class="ticket-container">
2015-08-18 18:28:47 +00:00
<% @categories.each do |category| %>
2015-08-25 10:49:47 +00:00
<div class="ticket-section-container">
<h4 class="ticket-category-title">
2015-09-02 10:16:01 +00:00
<i class="ticket-category-title-icon fa fa-tags"></i>
2015-08-25 10:49:47 +00:00
<%= category.title %>
</h4>
2015-08-18 18:28:47 +00:00
<%= render :partial => "ticket", :collection => @tickets[category] %>
2015-08-25 10:49:47 +00:00
<div class="ticket-section-view-all">
2021-07-15 11:51:44 +00:00
<a class="ticket-section-view-all-btn" href="/admin/tickets_manage/category/<%= category.id.to_s %>/?<%= request.original_fullpath.split("?")[1] %>">
2015-08-25 10:49:47 +00:00
<i class="ticket-section-view-all-icon fa fa-share"></i>
View all tickets from <%= category.title %>
</a>
</div>
</div>
2015-08-18 18:28:47 +00:00
<% end %>
</div>
<script type="text/javascript" src="/assets/search.js"></script>