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

Version Path
foreman_virt_who_configure-0.5.25 app/views/foreman_virt_who_configure/configs/index.html.erb
foreman_virt_who_configure-0.5.24 app/views/foreman_virt_who_configure/configs/index.html.erb
foreman_virt_who_configure-0.5.23 app/views/foreman_virt_who_configure/configs/index.html.erb
foreman_virt_who_configure-0.5.21 app/views/foreman_virt_who_configure/configs/index.html.erb
foreman_virt_who_configure-0.5.20 app/views/foreman_virt_who_configure/configs/index.html.erb
foreman_virt_who_configure-0.5.19 app/views/foreman_virt_who_configure/configs/index.html.erb
foreman_virt_who_configure-0.5.18 app/views/foreman_virt_who_configure/configs/index.html.erb
foreman_virt_who_configure-0.5.17 app/views/foreman_virt_who_configure/configs/index.html.erb
foreman_virt_who_configure-0.5.16 app/views/foreman_virt_who_configure/configs/index.html.erb
foreman_virt_who_configure-0.5.15 app/views/foreman_virt_who_configure/configs/index.html.erb
foreman_virt_who_configure-0.5.14 app/views/foreman_virt_who_configure/configs/index.html.erb
foreman_virt_who_configure-0.5.13 app/views/foreman_virt_who_configure/configs/index.html.erb
foreman_virt_who_configure-0.5.12 app/views/foreman_virt_who_configure/configs/index.html.erb
foreman_virt_who_configure-0.5.11 app/views/foreman_virt_who_configure/configs/index.html.erb
foreman_virt_who_configure-0.5.10 app/views/foreman_virt_who_configure/configs/index.html.erb
foreman_virt_who_configure-0.5.9 app/views/foreman_virt_who_configure/configs/index.html.erb
foreman_virt_who_configure-0.5.8 app/views/foreman_virt_who_configure/configs/index.html.erb
foreman_virt_who_configure-0.5.7 app/views/foreman_virt_who_configure/configs/index.html.erb
foreman_virt_who_configure-0.5.6 app/views/foreman_virt_who_configure/configs/index.html.erb
foreman_virt_who_configure-0.5.5 app/views/foreman_virt_who_configure/configs/index.html.erb