Sha256: ba4f64093f2c59267622d4a10b3fa1557bbe2baa14cc4d898265e5d6ea532dc2
Contents?: true
Size: 1.09 KB
Versions: 4
Compression:
Stored size: 1.09 KB
Contents
<% title _("Trends") %> <% title_actions new_link(_("Add Trend Counter"), engine: foreman_statistics), documentation_button('4.1.3Trends') %> <table class="<%= table_css_classes 'table-fixed' %>"> <thead> <tr> <th class='col-md-10'><%= _("Name") %></th> <th class='col-md-2'><%= _("Action") %></th> </tr> </thead> <tbody> <% @trends.each do |trend| %> <tr> <td class="ellipsis"><%= link_to trend.to_label, trend_path(:id => trend), :title => _("Show Trends") %></td> <td> <%= action_buttons( display_link_if_authorized(_("Edit"), hash_for_edit_trend_path(:id => trend)), display_delete_if_authorized(hash_for_trend_path(:id => trend), :data => { :confirm => _("Delete all the trend history for %s?") % trend.type_name })) %> </td> </tr> <% end %> </tbody> </table> <%= will_paginate_with_info @trends %> <% if (latest_counter_time = ForemanStatistics::TrendCounter.maximum(:created_at)) %> <%= _("Last update:") %> <%= date_time_relative(latest_counter_time) %> <% end %>
Version data entries
4 entries across 4 versions & 1 rubygems