summaryrefslogtreecommitdiff
path: root/app/views/projects/deployments
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-07-20 22:48:10 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2016-07-20 22:48:10 +0200
commitc2f77ee00be5ff7195beef3ba7d74e796f262003 (patch)
tree9c9fdac8cc4631ed1dba196d5507a1b3691d1c2c /app/views/projects/deployments
parent22c8e21bf432a68f05bd81685d76acc0a3c9607f (diff)
downloadgitlab-ce-re-deploy-button.tar.gz
Use Re-deploy button on Deployments pagere-deploy-button
Diffstat (limited to 'app/views/projects/deployments')
-rw-r--r--app/views/projects/deployments/_actions.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/deployments/_actions.haml b/app/views/projects/deployments/_actions.haml
index 65d68aa2985..f70dba224fa 100644
--- a/app/views/projects/deployments/_actions.haml
+++ b/app/views/projects/deployments/_actions.haml
@@ -17,6 +17,6 @@
- if local_assigns.fetch(:allow_rollback, false)
= link_to [:retry, @project.namespace.becomes(Namespace), @project, deployment.deployable], method: :post, class: 'btn btn-build' do
- if deployment.last?
- Retry
+ Re-deploy
- else
Rollback