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

11 lines
391 B
Plaintext

<% if @sites.count == 0 %>
<div class="cp-message-box">
<div class="message-text">
<%= t("client_management.no_sites_found") %>
</div>
</div>
<% else %>
<%= render :partial => "user_site", :collection => @sites %>
<% end %>
<input type="hidden" value="<%= @sites.count %>" class="total-sites" />
<input type="hidden" value="<%= @sites.total_pages %>" class="total-pages" />