diff options
author | Shinya Maeda <gitlab.shinyamaeda@gmail.com> | 2017-05-29 20:22:54 +0900 |
---|---|---|
committer | Shinya Maeda <gitlab.shinyamaeda@gmail.com> | 2017-05-29 20:22:54 +0900 |
commit | d94e1aad57d79d93d0add92aa1887c50ee2b27f2 (patch) | |
tree | ef1c41dccb4f107df36df9d7971c397b17e4b466 | |
parent | 8b5877dcd021cdc3b2badf0523855b6172644507 (diff) | |
download | gitlab-ce-d94e1aad57d79d93d0add92aa1887c50ee2b27f2.tar.gz |
Use if pipeline_schedule.ref
-rw-r--r-- | app/views/projects/pipeline_schedules/_pipeline_schedule.html.haml | 2 |
1 files changed, 1 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 04fe5045890..7bde839e26f 100644 --- a/app/views/projects/pipeline_schedules/_pipeline_schedule.html.haml +++ b/app/views/projects/pipeline_schedules/_pipeline_schedule.html.haml @@ -4,7 +4,7 @@ = pipeline_schedule.description %td.branch-name-cell = icon('code-fork') - - unless pipeline_schedule.ref.nil? + - if pipeline_schedule.ref = link_to pipeline_schedule.ref, project_ref_path(@project, pipeline_schedule.ref), class: "ref-name" %td - if pipeline_schedule.last_pipeline |