Sha256: 991f37b06e02a012d69630797f9d8bec21b4421d49c240a969cc3cbe585b045d

Contents?: true

Size: 1.54 KB

Versions: 119

Compression:

Stored size: 1.54 KB

Contents

<%= javascript 'foreman_remote_execution/job_templates' %>
<%= javascript 'foreman_remote_execution/template_input' %>

<% title _("Job Templates") %>
<% title_actions(documentation_button_rex('3.1JobTemplates'),
                 link_to_function(_('Import'), 'show_import_job_template_modal();', :class => 'btn btn-default'),
                 new_link(_("New Job Template"))) %>

<table class="<%= table_css_classes('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 ellipsis"><%= link_to_if_authorized 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 %>

<%= render :partial => 'import_job_template_modal' %>

Version data entries

119 entries across 119 versions & 1 rubygems

Version Path
foreman_remote_execution-9.1.0 app/views/job_templates/index.html.erb
foreman_remote_execution-8.2.1 app/views/job_templates/index.html.erb
foreman_remote_execution-8.2.0 app/views/job_templates/index.html.erb
foreman_remote_execution-9.0.1 app/views/job_templates/index.html.erb
foreman_remote_execution-9.0.0 app/views/job_templates/index.html.erb
foreman_remote_execution-8.1.2 app/views/job_templates/index.html.erb
foreman_remote_execution-8.1.1 app/views/job_templates/index.html.erb
foreman_remote_execution-8.1.0 app/views/job_templates/index.html.erb
foreman_remote_execution-7.2.2 app/views/job_templates/index.html.erb
foreman_remote_execution-7.2.1 app/views/job_templates/index.html.erb
foreman_remote_execution-7.2.0 app/views/job_templates/index.html.erb
foreman_remote_execution-5.0.8 app/views/job_templates/index.html.erb
foreman_remote_execution-8.0.0 app/views/job_templates/index.html.erb
foreman_remote_execution-7.1.1 app/views/job_templates/index.html.erb
foreman_remote_execution-7.1.0 app/views/job_templates/index.html.erb
foreman_remote_execution-7.0.0 app/views/job_templates/index.html.erb
foreman_remote_execution-5.0.7 app/views/job_templates/index.html.erb
foreman_remote_execution-5.0.6 app/views/job_templates/index.html.erb
foreman_remote_execution-6.2.0 app/views/job_templates/index.html.erb
foreman_remote_execution-5.0.5 app/views/job_templates/index.html.erb