% title _('Application Instances') %> <% title_actions button_group(new_link(_('New Application Instance'))) %>
<%= sort :name, :as => s_('AppInstance|Name') %> | <%= sort :application, :as => _('Application'), :default => 'DESC' %> | <%= _('Description') %> | |
---|---|---|---|
<%=link_to_if_authorized h(app_instance.name), hash_for_edit_app_instance_path(:id => app_instance).merge(:auth_object => app_instance, :authorizer => authorizer) %> | <%= app_instance.app_definition %> | <%= app_instance.description %> | <%= action_buttons(display_link_if_authorized(_("Deploy"), hash_for_deploy_app_instance_path(:id => app_instance), :method => :post, :title => _("Deploy application #{app_instance}")), display_link_if_authorized(_("Report"), hash_for_report_app_instance_path(:id => app_instance), :method => :get, :title => _("Show last deployment report for application #{app_instance}")), 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 })) %> |