summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-04-26 16:01:00 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2016-04-26 16:36:06 +0200
commitc6f19aed51736e5945283a611eae09f32a9b5aeb (patch)
treedb8aed976e5559d66aaf286b0df23eb5d580476c /app
parentdc975525a4116c5744d12115acc7f97328e43349 (diff)
downloadgitlab-ce-c6f19aed51736e5945283a611eae09f32a9b5aeb.tar.gz
Fix builds rendering bug
Diffstat (limited to 'app')
-rw-r--r--app/views/projects/commit/_ci_commit.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/commit/_ci_commit.html.haml b/app/views/projects/commit/_ci_commit.html.haml
index 782ea341daf..21a30080868 100644
--- a/app/views/projects/commit/_ci_commit.html.haml
+++ b/app/views/projects/commit/_ci_commit.html.haml
@@ -18,7 +18,7 @@
- if defined?(link_to_commit) && link_to_commit
for commit
= link_to ci_commit.short_sha, namespace_project_commit_path(@project.namespace, @project, ci_commit.sha), class: "monospace"
- - if ci_commit.duration > 0
+ - if ci_commit.duration
in
= time_interval_in_words ci_commit.duration