Sha256: ed7138dc524f57ec41f9c9ebddfc098da127c79cceb2175f9b4e2208c0d8035a

Contents?: true

Size: 986 Bytes

Versions: 11

Compression:

Stored size: 986 Bytes

Contents

<% title _("Ansible Roles") %>

<% title_actions ansible_proxy_import(hash_for_import_ansible_roles_path) %>

<table class="<%= table_css_classes 'table-fixed' %>">
  <thead>
    <tr>
      <th class="col-md-3"><%= sort :name, :as => s_("Role|Name") %></th>
      <th class="col-md-3"><%= _("Imported at") %></th>
      <th class="col-md-1"><%= _("Actions") %></th>
    </tr>
  </thead>
  <tbody>
    <% @ansible_roles.each do |role| %>
      <tr>
        <td class="ellipsis"><%= role.name %></td>
        <td class="ellipsis"><%= import_time role %></td>
        <td>
          <%
            links = [display_delete_if_authorized(hash_for_ansible_role_path(:id => role).merge(:auth_object => role, :authorizer => authorizer),
                      :data => { :confirm => _("Delete %s?") % role.name }, :action => :delete)]
          %>
          <%= action_buttons(*links) %>
        </td>
      </tr>
    <% end %>
  </tbody>
</table>

<%= will_paginate_with_info @ansible_roles %>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
foreman_ansible-1.4.6 app/views/ansible_roles/index.html.erb
foreman_ansible-1.4.5 app/views/ansible_roles/index.html.erb
foreman_ansible-1.4.3 app/views/ansible_roles/index.html.erb
foreman_ansible-1.4.2 app/views/ansible_roles/index.html.erb
foreman_ansible-1.4.1 app/views/ansible_roles/index.html.erb
foreman_ansible-1.4.0 app/views/ansible_roles/index.html.erb
foreman_ansible-1.3.1 app/views/ansible_roles/index.html.erb
foreman_ansible-1.3.0 app/views/ansible_roles/index.html.erb
foreman_ansible-1.2.1 app/views/ansible_roles/index.html.erb
foreman_ansible-1.2 app/views/ansible_roles/index.html.erb
foreman_ansible-1.1 app/views/ansible_roles/index.html.erb