Sha256: b6c07f78a915a03131387a7b12e5d9ea87888ff74ae49979ec95d6f90664865c
Contents?: true
Size: 1.21 KB
Versions: 2
Compression:
Stored size: 1.21 KB
Contents
<% title _('Application Definitions') %> <% title_actions button_group( new_link(_('New Application Definition')), display_link_if_authorized(_("Import"), hash_for_import_app_definitions_path, :class => 'btn btn-default', :style => "display: none;") ) %> <table class="table table-bordered table-striped"> <tr> <th><%= sort :name, :as => s_('AppDefinition|Name') %></th> <th><%= _('Description') %></th> <th></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 }), # TODO: add export feature again if app-def + ansible playbook can be exported together 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
foreman_acd-0.7.0 | app/views/foreman_acd/app_definitions/index.html.erb |
foreman_acd-0.6.0 | app/views/foreman_acd/app_definitions/index.html.erb |