diff --git a/app/views/jobs/_job_template_details.html.erb b/app/views/jobs/_job_template_details.html.erb
index 987f1c4..6c8551c 100644
--- a/app/views/jobs/_job_template_details.html.erb
+++ b/app/views/jobs/_job_template_details.html.erb
@@ -1,24 +1,23 @@
<%= link_to job.name, host_job_path(@host, job) %> |
<%= job.job_type %> |
<%= link_to job.fileset.name, '#',
data: { toggle: 'modal', target: ".js-fileset-#{job.fileset_id}:first"} %>
|
<%= link_to job.schedule_human, '#',
data: { toggle: 'modal', target: ".js-schedule-#{job.schedule_id}:first"} %>
|
<%= job.client_before_run_file %> |
<%= job.client_after_run_file %> |
- <%= job.priority %> |
<% if job.enabled? %>
<%= link_to 'Disable', toggle_enable_host_job_path(@host, job), method: :patch,
class: "btn btn-warning", role: "button" %>
<% else %>
<%= link_to 'Enable', toggle_enable_host_job_path(@host, job), method: :patch,
class: "btn btn-info", role: "button" %>
<% end %>
|
diff --git a/app/views/jobs/_job_templates.html.erb b/app/views/jobs/_job_templates.html.erb
index 6680673..3620112 100644
--- a/app/views/jobs/_job_templates.html.erb
+++ b/app/views/jobs/_job_templates.html.erb
@@ -1,25 +1,24 @@
Name |
Type |
FileSet |
Schedule |
Client Before Run Job |
Client After Run Job |
- Priority |
Enabled |
<%= render partial: 'jobs/job_template_details',
collection: @host.job_templates, as: :job %>
<%= link_to 'Add Job', new_host_job_path(host_id: @host.id),
class: "btn btn-success", role: "button" %>