summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <gitlab.shinyamaeda@gmail.com>2017-05-25 19:21:15 +0900
committerShinya Maeda <gitlab.shinyamaeda@gmail.com>2017-05-29 20:02:09 +0900
commit489c6da9f27815ac2eef19dbd2a2cc813ddd1689 (patch)
tree69610d302248b8353471325ab237539a4c0e0b58
parenteaa1dccc4eac87d502848454492971963868f514 (diff)
downloadgitlab-ce-489c6da9f27815ac2eef19dbd2a2cc813ddd1689.tar.gz
Fixed
-rw-r--r--app/views/projects/pipeline_schedules/_pipeline_schedule.html.haml3
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}" }