Commit 4aaf4774 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Merge branch 'hide-pipeline-zero-duration' into 'master'

Hides pipeline duration in commit box when it is zero (nil)

Closes #32788

See merge request gitlab-org/gitlab-ce!14979
parents 7444e8a1 188e8608
......@@ -77,5 +77,6 @@
#{ n_(s_('Pipeline|with stage'), s_('Pipeline|with stages'), last_pipeline.stages_count) }
.mr-widget-pipeline-graph
= render 'shared/mini_pipeline_graph', pipeline: last_pipeline, klass: 'js-commit-pipeline-graph'
- if last_pipeline.duration
in
= time_interval_in_words last_pipeline.duration
---
title: Hides pipeline duration in commit box when it is zero (nil)
merge_request: 14979
author: gvieira37
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment