BigW Consortium Gitlab

Commit 34655464 by Z.J. van de Weg Committed by Timothy Andrew

Fix merge conflicts on pipeline schedules

parent 16977ad3
...@@ -28,17 +28,12 @@ module Ci ...@@ -28,17 +28,12 @@ module Ci
!active? !active?
end end
<<<<<<< HEAD
def importing_or_inactive?
importing? || inactive?
=======
def deactivate! def deactivate!
update_attribute(:active, false) update_attribute(:active, false)
end end
def runnable_by_owner? def runnable_by_owner?
Ability.allowed?(owner, :create_pipeline, project) Ability.allowed?(owner, :create_pipeline, project)
>>>>>>> 9dfecec... Merge branch '32790-pipeline_schedules-pages-throwing-error-500' into 'master'
end end
def set_next_run_at def set_next_run_at
......
...@@ -4,12 +4,9 @@ ...@@ -4,12 +4,9 @@
= pipeline_schedule.description = pipeline_schedule.description
%td.branch-name-cell %td.branch-name-cell
= icon('code-fork') = icon('code-fork')
<<<<<<< HEAD
= link_to pipeline_schedule.ref, namespace_project_commits_path(@project.namespace, @project, pipeline_schedule.ref), class: "branch-name"
=======
- if pipeline_schedule.ref - if pipeline_schedule.ref
= link_to pipeline_schedule.ref, project_ref_path(@project, pipeline_schedule.ref), class: "ref-name" = link_to pipeline_schedule.ref, namespace_project_commits_path(@project.namespace, @project, pipeline_schedule.ref), class: "branch-name"
>>>>>>> 9dfecec... Merge branch '32790-pipeline_schedules-pages-throwing-error-500' into 'master'
%td %td
- if pipeline_schedule.last_pipeline - if pipeline_schedule.last_pipeline
.status-icon-container{ class: "ci-status-icon-#{pipeline_schedule.last_pipeline.status}" } .status-icon-container{ class: "ci-status-icon-#{pipeline_schedule.last_pipeline.status}" }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment