Sha256: 203bccf9f0272822c00384135bb69aa6b283666a97d6ddf3365d970ce057127d
Contents?: true
Size: 1.54 KB
Versions: 42
Compression:
Stored size: 1.54 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, :permission => 'view_virt_who_config') %></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, :permission => 'edit_virt_who_config')), display_delete_if_authorized((hash_for_foreman_virt_who_configure_config_path(:id => config).merge(:auth_object => config, :authorizer => authorizer, :permission => 'destroy_virt_who_config')), :data => {:confirm => _("Delete virt-who configuration %s?") % config.name}) ) %></td> </tr> <% end %> </tbody> </table> <%= will_paginate_with_info @configs %>
Version data entries
42 entries across 42 versions & 1 rubygems