Sha256: 0d64657d2b955940b3125508ebe3da8adb5cb92c1827ed38bbdb943dfbbe0ffa

Contents?: true

Size: 1.15 KB

Versions: 6

Compression:

Stored size: 1.15 KB

Contents

<% title _("Registries") %>

<%= title_actions(new_link(_("Create Registry"))) %>

<table class="table table-bordered table-striped table-condensed" data-table="inline">
  <thead>
    <tr>
      <th><%= sort :name, :as => _("Name") %></th>
      <th class="hidden-tablet hidden-xs"><%= sort :url, :as => _("URL") %></th>
      <th class="hidden-tablet hidden-xs"><%= _("Description") %></th>
      <th><%= _('Actions') %></th>
    </tr>
  </thead>
  <tbody>
    <% @registries.each do |r| %>
      <tr>
        <td><%= link_to_if_authorized trunc_with_tooltip(r.name), hash_for_edit_registry_path(:id => r).merge(:auth_object => r, :authorizer => authorizer) %></td>
        <td class="hidden-tablet hidden-xs text-center"><%= trunc_with_tooltip(r.url) %></td>
        <td class="hidden-tablet hidden-xs text-center"><%= trunc_with_tooltip(r.description) %></td>
        <td><%= action_buttons(
          display_delete_if_authorized hash_for_registry_path(:id => r).
          merge(:auth_object => r, :authorizer => authorizer),
          :confirm => _("Delete %s?") % r.name) %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<%= will_paginate_with_info @registries %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
foreman_docker-5.0.0 app/views/registries/index.html.erb
foreman_docker-4.1.1 app/views/registries/index.html.erb
foreman_docker-4.1.0 app/views/registries/index.html.erb
foreman_docker-4.0.0 app/views/registries/index.html.erb
foreman_docker-3.2.1 app/views/registries/index.html.erb
foreman_docker-3.2.0 app/views/registries/index.html.erb