Commit 52c910ee authored by Scott Hampton's avatar Scott Hampton

Remove deprecated ci status helper function

After changing all places that used the function, we can now remove it.
parent 54a5d513
......@@ -123,12 +123,6 @@ module CiStatusHelper
icon_size: 24)
end
def render_pipeline_status(pipeline, tooltip_placement: 'left')
project = pipeline.project
path = project_pipeline_path(project, pipeline)
render_status_with_link('pipeline', pipeline.status, path, tooltip_placement: tooltip_placement)
end
def render_status_with_link(type, status, path = nil, tooltip_placement: 'left', cssclass: '', container: 'body', icon_size: 16)
klass = "ci-status-link ci-status-icon-#{status.dasherize} #{cssclass}"
title = "#{type.titleize}: #{ci_label_for_status(status)}"
......
# frozen_string_literal: true
require 'spec_helper'
describe 'ci/status/_icon' do
......
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