diff options
author | Shinya Maeda <gitlab.shinyamaeda@gmail.com> | 2017-05-25 13:17:17 +0300 |
---|---|---|
committer | Shinya Maeda <gitlab.shinyamaeda@gmail.com> | 2017-05-29 14:02:09 +0300 |
commit | 6b75868c7694739bfe3a315c6d789223ee56940a (patch) | |
tree | 69610d302248b8353471325ab237539a4c0e0b58 /app/views/projects/pipeline_schedules | |
parent | e5226177ac667c8ad4cc07270bbdef24031eb8a2 (diff) |
Reproduced
Diffstat (limited to 'app/views/projects/pipeline_schedules')
-rw-r--r-- | app/views/projects/pipeline_schedules/_pipeline_schedule.html.haml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/projects/pipeline_schedules/_pipeline_schedule.html.haml b/app/views/projects/pipeline_schedules/_pipeline_schedule.html.haml index 082a6bcbb2a..5a2b7f5d177 100644 --- a/app/views/projects/pipeline_schedules/_pipeline_schedule.html.haml +++ b/app/views/projects/pipeline_schedules/_pipeline_schedule.html.haml @@ -4,7 +4,8 @@ = pipeline_schedule.description %td.branch-name-cell = icon('code-fork') - = link_to pipeline_schedule.ref, project_ref_path(@project, pipeline_schedule.ref), class: "ref-name" + - if pipeline_schedule.ref.present? + = link_to pipeline_schedule.ref, project_ref_path(@project, pipeline_schedule.ref), class: "ref-name" %td - if pipeline_schedule.last_pipeline .status-icon-container{ class: "ci-status-icon-#{pipeline_schedule.last_pipeline.status}" } |