From 63829ae4e81171a7fd6bee801e90708136da573d Mon Sep 17 00:00:00 2001 From: Shinya Maeda Date: Tue, 2 Oct 2018 16:04:31 +0900 Subject: [PATCH] Show sheculed label for present and past jobs --- app/views/projects/ci/builds/_build.html.haml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/projects/ci/builds/_build.html.haml b/app/views/projects/ci/builds/_build.html.haml index be24e7dadaf..2b699770998 100644 --- a/app/views/projects/ci/builds/_build.html.haml +++ b/app/views/projects/ci/builds/_build.html.haml @@ -47,10 +47,10 @@ %span.badge.badge-info triggered - if job.try(:allow_failure) %span.badge.badge-danger allowed to fail - - if job.action? - %span.badge.badge-info manual - - if job.scheduled? + - if job.schedulable? %span.badge.badge-info= s_('DelayedJobs|scheduled') + - elsif job.action? + %span.badge.badge-info manual - if pipeline_link %td