summaryrefslogtreecommitdiff
path: root/app/views/projects/builds
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-11-23 14:18:06 +0100
committerKamil Trzcinski <ayufan@ayufan.eu>2016-11-23 14:25:48 +0100
commit02c6cbf53f4799bc888db7767c2d9a5e04a30002 (patch)
tree17dfbb66b3e896a407bd3dbd0ad96982496f3264 /app/views/projects/builds
parentafa5afc5e38633126c4c5d318c246239b074155c (diff)
downloadgitlab-ce-02c6cbf53f4799bc888db7767c2d9a5e04a30002.tar.gz
Add tests
Diffstat (limited to 'app/views/projects/builds')
-rw-r--r--app/views/projects/builds/show.html.haml3
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