Sha256: ea785b1a253ed95464938423bfc517bf49a2d2193ce23c3fff92641384628965
Contents?: true
Size: 1.42 KB
Versions: 7
Compression:
Stored size: 1.42 KB
Contents
<% title _("Virt-who Configurations") %> <% title_actions new_config_link, help_button_or_path %> <table class="<%= table_css_classes 'table-fixed' %>"> <thead> <tr> <th class="col-md-8"><%= sort :name, :as => s_("Config|Name") %></th> <th><%= sort :interval, :as => s_("Config|Interval") %></th> <th class="col-md-2"><%= sort :last_report_at, :as => _("Status") %></th> <th><%= _('Actions') %></th> </tr> </thead> <tbody> <% @configs.each do |config| %> <tr> <td class="display-two-pane ellipsis"><%= link_to_if_authorized config.name, hash_for_foreman_virt_who_configure_config_path(:id => config).merge(:auth_object => config, :authorizer => authorizer) %></td> <td><%= config.humanized_interval %></td> <td><%= config_report_status(config) %></td> <td class="col-md-1"><%= action_buttons( display_link_if_authorized(_('Edit'), hash_for_edit_foreman_virt_who_configure_config_path(:id => config).merge(:auth_object => config, :authorizer => authorizer)), display_delete_if_authorized((hash_for_foreman_virt_who_configure_config_path(:id => config).merge(:auth_object => config, :authorizer => authorizer)), :data => { :confirm => _("Delete virt-who configuration %s?") % config.name }) ) %></td> </tr> <% end %> </tbody> </table> <%= will_paginate_with_info @configs %>
Version data entries
7 entries across 7 versions & 1 rubygems