Hides pipeline duration in commit box when it is zero (nil)
This commit is contained in:
parent
e1122c9f6d
commit
188e860804
2 changed files with 8 additions and 2 deletions
|
@ -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'
|
||||
in
|
||||
= time_interval_in_words last_pipeline.duration
|
||||
- if last_pipeline.duration
|
||||
in
|
||||
= time_interval_in_words last_pipeline.duration
|
||||
|
|
5
changelogs/unreleased/hide-pipeline-zero-duration.yml
Normal file
5
changelogs/unreleased/hide-pipeline-zero-duration.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Hides pipeline duration in commit box when it is zero (nil)
|
||||
merge_request: 14979
|
||||
author: gvieira37
|
||||
type: fixed
|
Loading…
Reference in a new issue