Use if pipeline_schedule.ref

This commit is contained in:
Shinya Maeda 2017-05-29 20:22:54 +09:00
parent 8b5877dcd0
commit d94e1aad57

View file

@ -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