summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-08-15 18:54:38 +0800
committerLin Jen-Shin <godfat@godfat.org>2016-08-15 18:54:38 +0800
commit5e7d99d3dc3cc7c5cf644f15610ed9813b45cb41 (patch)
tree4a8fbf1f654be5cd0dafdeeac033d1e54643283a /app/views
parent7d9bdac6cef6c2e59c8d8753cd54bf5516bfdefc (diff)
downloadgitlab-ce-5e7d99d3dc3cc7c5cf644f15610ed9813b45cb41.tar.gz
Rename to total_duration and we're not using CommitStatus.duration
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/commit/_commit_box.html.haml5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/views/projects/commit/_commit_box.html.haml b/app/views/projects/commit/_commit_box.html.haml
index 3ad866bb2f1..f733d49224e 100644
--- a/app/views/projects/commit/_commit_box.html.haml
+++ b/app/views/projects/commit/_commit_box.html.haml
@@ -57,9 +57,8 @@
= link_to builds_namespace_project_commit_path(@project.namespace, @project, @commit.id), class: "ci-status-link ci-status-icon-#{@commit.status}" do
= ci_icon_for_status(@commit.status)
= ci_label_for_status(@commit.status)
- - if @commit.pipelines.duration
- in
- = time_interval_in_words @commit.pipelines.duration
+ in
+ = time_interval_in_words @commit.pipelines.total_duration
.commit-box.content-block
%h3.commit-title