Sha256: 66dd21c01e7097a5ecdf804fc3bb00fea78a2b4e2ef575b1720cdff7a0bf055c
Contents?: true
Size: 1.51 KB
Versions: 1
Compression:
Stored size: 1.51 KB
Contents
<%= include_javascript if SETTINGS[:version].short == '1.9' %> <%= javascript 'lookup_keys' %> <%= javascript 'template_input' %> <% title _("Job Templates") %> <% title_actions(documentation_button_rex('3.1JobTemplates'), display_link_if_authorized(_("New Job Template"), hash_for_new_job_template_path)) %> <table class="table table-bordered table-striped table-two-pane table-fixed"> <thead> <tr> <th class="col-md-6"><%= sort :name, :as => s_("JobTemplate|Name") %></th> <th class="col-md-1"><%= sort :snippet, :as => s_("JobTemplate|Snippet") %></th> <th class="col-md-1"><%= sort :locked, :as => s_("JobTemplate|Locked"), :default => "DESC" %></th> <th class="col-md-1"><%= _('Actions') %></th> </tr> </thead> <tbody> <% for job_template in @templates %> <tr> <td class="display-two-pane"><%= link_to_if_authorized trunc_with_tooltip(job_template), hash_for_edit_job_template_path(:id => job_template).merge(:auth_object => job_template, :authorizer => authorizer) %></td> <td align='center'><%= checked_icon job_template.snippet %></td> <td align='center'> <%= locked_icon job_template.locked?, _("This template is locked for editing.") %> </td> <td> <%= action_buttons(*permitted_actions(job_template)) %> </td> </tr> <% end %> </tbody> </table> <%= will_paginate_with_info @templates %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
foreman_remote_execution-0.3.0 | app/views/job_templates/index.html.erb |