Sha256: 791c8480320c0a1da2d58f5431bfa9f19581c3baced5b6ed860c12f2dda73348

Contents?: true

Size: 1.1 KB

Versions: 12

Compression:

Stored size: 1.1 KB

Contents

<% title _('Application Definitions') %>

<% title_actions new_link(_('New Application Definition')), display_link_if_authorized(_("Import"), hash_for_import_app_definitions_path, :class => 'btn btn-default')  %>

<table class="table table-bordered table-striped">
  <tr>
    <th><%= sort :name, :as => s_('AppDefinition|Name') %></th>
    <th><%= _('Description') %></th>
    <th><%= _('Actions') %></th>
  </tr>
  <% for app_definition in @app_definitions %>
    <tr>
      <td><%=link_to_if_authorized h(app_definition.name), hash_for_edit_app_definition_path(:id => app_definition) %></td>
      <td><%= app_definition.description %></td>
      <td>
        <%= action_buttons(
          display_delete_if_authorized(hash_for_app_definition_path(:id => app_definition),
                                       :data => { 'confirm': _('Delete %s?') % app_definition.name }),
          display_link_if_authorized(_("Export"), hash_for_export_app_definition_path(:id => app_definition))
        ) %>
      </td>
    </tr>
  <% end %>
</table>

<%= page_entries_info @app_definitions %>
<%= will_paginate @app_definitions %>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
foreman_acd-0.11.0 app/views/foreman_acd/app_definitions/index.html.erb
foreman_acd-0.10.0 app/views/foreman_acd/app_definitions/index.html.erb
foreman_acd-0.9.7 app/views/foreman_acd/app_definitions/index.html.erb
foreman_acd-0.9.5 app/views/foreman_acd/app_definitions/index.html.erb
foreman_acd-0.9.4 app/views/foreman_acd/app_definitions/index.html.erb
foreman_acd-0.9.3 app/views/foreman_acd/app_definitions/index.html.erb
foreman_acd-0.9.2.3 app/views/foreman_acd/app_definitions/index.html.erb
foreman_acd-0.9.2.2 app/views/foreman_acd/app_definitions/index.html.erb
foreman_acd-0.9.2.1 app/views/foreman_acd/app_definitions/index.html.erb
foreman_acd-0.9.2 app/views/foreman_acd/app_definitions/index.html.erb
foreman_acd-0.9.1 app/views/foreman_acd/app_definitions/index.html.erb
foreman_acd-0.9.0 app/views/foreman_acd/app_definitions/index.html.erb