Sha256: 03c0f52421ad9b515a9d6580b6344962e5b78d710e29557d321698e63eeef30a
Contents?: true
Size: 1.26 KB
Versions: 1
Compression:
Stored size: 1.26 KB
Contents
<% title _("Configs") %> <% 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|Title") %></th> <th><%= s_("Config|Interval") %></th> <th><%= _('Actions') %></th> </tr> </thead> <tbody> <% @configs.each do |config| %> <tr> <td class="display-two-pane ellipsis"><%= link_to_if_authorized (config.title), hash_for_foreman_virt_who_configure_config_path(:id => config).merge(:auth_object => config, :authorizer => authorizer) %></td> <td><%= config.humanized_interval %></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.title }) ) %></td> </tr> <% end %> </tbody> </table> <%= will_paginate_with_info @configs %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
foreman_virt_who_configure-0.0.1 | app/views/foreman_virt_who_configure/configs/index.html.erb |