Sha256: 7197ea5f5c88d34654ee5190d78f21031833aac3f0e0b7152544cc3da2900c8a
Contents?: true
Size: 1.79 KB
Versions: 5
Compression:
Stored size: 1.79 KB
Contents
<%= page_header :title => 'Dashboard' %> <table class="table dashboard-table"> <thead> <tr> <th><%= t("txt.views.dashboard.type") %><%= sorting_controls_for(:class) %></th> <th><%= t("txt.views.dashboard.value") %><%= sorting_controls_for(:value) %></th> <th><%= t("txt.views.dashboard.locking_user") %><%= sorting_controls_for(:locking_user) %></th> <th><%= t("txt.views.dashboard.follow_up") %><%= sorting_controls_for(:follow_up) %></th> <th><%= t("txt.views.dashboard.updated_at") %><%= sorting_controls_for(:updated_at) %></th> <th><%= t("txt.views.dashboard.state") %><%= sorting_controls_for(:state) %></th> <%- if params[:check_consistency] == "1" -%> <th><%= t("txt.views.dashboard.consistent") %>?</th> <%- else -%> <th><%= link_to t("txt.views.dashboard.check_consistency"), dashboard_url(request.query_parameters.merge(:check_consistency => 1)) %></th> <%- end -%> </tr> </thead> <tbody> <% @items.each do |item| -%> <tr class="highlightable dashboard-table-item" data-url="<%= link_to_dashboard_item(item) %>"> <td><%= item.class.model_name.human %></td> <td> <%= render item.class.edit_link_partial_name, :item => item %> </td> <td><%= item.locking_user.blank? ? "" : item.locking_user.name %></td> <td><%= l(item.follow_up) if item.follow_up.present? %></td> <td><%= l(item.updated_at, :format => :short) %></td> <td><span class="label label-default dashboard-table-item-state"><%= item.state %></span></td> <td> <%- if params[:check_consistency] == "1" -%> <%= consistency_status(item) %> <%- end -%> </td> </tr> <% end -%> </tbody> </table> <%= paginate @items %> <%= render 'dashboard/sidebar' %>
Version data entries
5 entries across 5 versions & 1 rubygems