Sha256: 38c93e699a858670fdb5ae6c79f5b7c78010c37281b2a03b61668119ea33063f
Contents?: true
Size: 1.71 KB
Versions: 13
Compression:
Stored size: 1.71 KB
Contents
<%= page_header :title => 'Dashboard' %> <table class="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" 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"><%= 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
13 entries across 13 versions & 1 rubygems