summaryrefslogtreecommitdiff
path: root/app/views/projects/jobs/show.html.haml
diff options
context:
space:
mode:
authorLUKE BENNETT <lbennett@gitlab.com>2018-01-17 00:16:02 +0000
committerLUKE BENNETT <lbennett@gitlab.com>2018-01-17 00:16:02 +0000
commit3cf7681af325ba4865312d959fb4a6cb8fc449db (patch)
tree67f8d430e4c1e11b5f01c5d5c3b5ab3291c97783 /app/views/projects/jobs/show.html.haml
parent904b1cda82ab7b2c5beb01e589a4607af7f7e519 (diff)
parent09b07d8420e1102ac3fcfef1395f70439dcc6c76 (diff)
downloadgitlab-ce-3cf7681af325ba4865312d959fb4a6cb8fc449db.tar.gz
Merge branch '10-4-stable-prepare-rc6' into '10-4-stable'10-4-stable-with-rc5-and-rc6
10.4.0-rc6 on rc5 sec release See merge request gitlab/gitlabhq!2310
Diffstat (limited to 'app/views/projects/jobs/show.html.haml')
-rw-r--r--app/views/projects/jobs/show.html.haml7
1 files changed, 3 insertions, 4 deletions
diff --git a/app/views/projects/jobs/show.html.haml b/app/views/projects/jobs/show.html.haml
index 8b05440fc78..1e6d6f67e66 100644
--- a/app/views/projects/jobs/show.html.haml
+++ b/app/views/projects/jobs/show.html.haml
@@ -93,14 +93,13 @@
illustration: 'illustrations/manual_action.svg',
illustration_size: 'svg-394',
title: _('This job requires a manual action'),
- content: _('This job depends on a user to trigger its process. Often they are used to deploy code to production environments.'),
- action: ( link_to _('Trigger this manual action'), play_project_job_path(@project, @build), class: 'btn btn-primary', title: _('Trigger this manual action') )
+ content: _('This job depends on a user to trigger its process. Often they are used to deploy code to production environments'),
+ action: ( link_to _('Trigger this manual action'), play_project_job_path(@project, @build), method: :post, class: 'btn btn-primary', title: _('Trigger this manual action') )
- else
= render 'empty_state',
illustration: 'illustrations/job_not_triggered.svg',
illustration_size: 'svg-306',
- title: _('This job has not been triggered yet'),
- content: _('This job depends on upstream jobs that need to succeed in order for this job to be triggered.')
+ title: _('This job has not been triggered yet')
= render "sidebar"