Skip to content
Snippets Groups Projects
Commit 188e8608 authored by Guilherme Vieira's avatar Guilherme Vieira
Browse files

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

parent e1122c9f
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
---
title: Hides pipeline duration in commit box when it is zero (nil)
merge_request: 14979
author: gvieira37
type: fixed
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment