Sha256: 8484bea4475b85116b2fe9c4f5373670084970c1bc0384360c816467eb9cca6a

Contents?: true

Size: 1.38 KB

Versions: 6

Compression:

Stored size: 1.38 KB

Contents

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

<% title_actions button_group(new_link(_('New Application Instance'))) %>

<table class="table table-bordered table-striped">
  <tr>
    <th><%= sort :name, :as => s_('AppInstance|Name') %></th>
    <th><%= sort :application, :as => _('Application'), :default => 'DESC' %></th>
    <th><%= _('Description') %></th>
    <th></th>
  </tr>
  <% for app_instance in @app_instances %>
    <tr>
      <td><%=link_to_if_authorized h(app_instance.name), hash_for_edit_app_instance_path(:id => app_instance).merge(:auth_object => app_instance, :authorizer => authorizer) %></td>
      <td><%= app_instance.app_definition %></td>
      <td><%= app_instance.description %></td>
      <td>
          <%= action_buttons(display_delete_if_authorized(hash_for_app_instance_path(:id => app_instance).merge(:auth_object => app_instance, :authorizer => authorizer),
                                                          :data => { 'confirm': _('Delete %s?') % app_instance.name }),
                             display_link_if_authorized(_("Deploy"), hash_for_deploy_app_instance_path(:id => app_instance), :method => :post,
                                                        :title => _("Deploy the application #{app_instance}"))
                            ) %>
      </td>
    </tr>
  <% end %>
</table>

<%= page_entries_info @app_instances %>
<%= will_paginate @app_instances %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
foreman_acd-0.0.6 app/views/foreman_acd/app_instances/index.html.erb
foreman_acd-0.0.5 app/views/foreman_acd/app_instances/index.html.erb
foreman_acd-0.0.4 app/views/foreman_acd/app_instances/index.html.erb
foreman_acd-0.0.3 app/views/foreman_acd/app_instances/index.html.erb
foreman_acd-0.0.2 app/views/foreman_acd/app_instances/index.html.erb
foreman_acd-0.0.1 app/views/foreman_acd/app_instances/index.html.erb