% title _('Application Definitions') %> <% title_actions button_group(new_link(_('New Application Definition'))) %>
<%= sort :name, :as => s_('AppDefinition|Name') %> | <%= _('Description') %> | <%= sort :hostgroup, :as => _('Host groups'), :default => 'DESC' %> | |
---|---|---|---|
<%=link_to_if_authorized h(app_definition.name), hash_for_edit_app_definition_path(:id => app_definition).merge(:auth_object => app_definition, :authorizer => authorizer) %> | <%= app_definition.description %> | <%= app_definition.hostgroup %> | <%= action_buttons(display_delete_if_authorized(hash_for_app_definition_path(:id => app_definition).merge(:auth_object => app_definition, :authorizer => authorizer), :data => { 'confirm': _('Delete %s?') % app_definition.name })) %> |