<%= javascript 'charts' %> <% title _("Trends") %> <% title_actions new_link(_("Add Trend Counter")), documentation_button('4.1.3Trends') %> <% @trends.each do |trend| %> <% end %>
<%= _("Name") %> <%= _("Action") %>
<%= link_to trend.to_label, trend_path(:id => trend), :title => _("Show Trends") %> <%= 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 })) %>
<%= will_paginate_with_info @trends %> <% if (latest_counter_time = ForemanStatistics::TrendCounter.maximum(:created_at)) %> <%= _("Last update:") %> <%= date_time_relative(latest_counter_time) %> <% end %>