client_management/app/views/client_managements/site_tickets.html.erb

11 lines
405 B
Plaintext
Raw Permalink Normal View History

2017-03-07 09:37:28 +00:00
<% if @tickets.count == 0 %>
<div class="cp-message-box">
<div class="message-text">
<%= t("client_management.no_ticket_found") %>
</div>
</div>
<% else %>
<%= render :partial => "site_ticket", :collection => @tickets %>
<% end %>
<input type="hidden" value="<%= @tickets.count %>" class="total-tickets" />
<input type="hidden" value="<%= @tickets.total_pages %>" class="total-pages" />