diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-11-23 14:18:06 +0100 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-11-23 14:25:48 +0100 |
commit | 02c6cbf53f4799bc888db7767c2d9a5e04a30002 (patch) | |
tree | 17dfbb66b3e896a407bd3dbd0ad96982496f3264 /app | |
parent | afa5afc5e38633126c4c5d318c246239b074155c (diff) | |
download | gitlab-ce-02c6cbf53f4799bc888db7767c2d9a5e04a30002.tar.gz |
Add tests
Diffstat (limited to 'app')
-rw-r--r-- | app/views/projects/builds/show.html.haml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/projects/builds/show.html.haml b/app/views/projects/builds/show.html.haml index b40d193eb39..108674dbba6 100644 --- a/app/views/projects/builds/show.html.haml +++ b/app/views/projects/builds/show.html.haml @@ -40,8 +40,7 @@ This build is the most recent deployment to #{environment_link_for_build(@build.project, @build)}. - else This build is an out-of-date deployment to #{environment_link_for_build(@build.project, @build)}. - - if environment.try(:last_deployment) - View the most recent deployment #{deployment_link(environment.last_deployment)}. + View the most recent deployment #{deployment_link(environment.last_deployment)}. - elsif @build.complete? && !@build.success? The deployment of this build to #{environment_link_for_build(@build.project, @build)} did not succeed. - else |