diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-07-20 22:48:10 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-07-20 22:48:10 +0200 |
commit | c2f77ee00be5ff7195beef3ba7d74e796f262003 (patch) | |
tree | 9c9fdac8cc4631ed1dba196d5507a1b3691d1c2c /app/views/projects/deployments | |
parent | 22c8e21bf432a68f05bd81685d76acc0a3c9607f (diff) | |
download | gitlab-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.haml | 2 |
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 |