summaryrefslogtreecommitdiff
path: root/app/helpers/ci_status_helper.rb
diff options
context:
space:
mode:
authorScott Hampton <shampton@gitlab.com>2019-02-20 12:20:09 -0700
committerScott Hampton <shampton@gitlab.com>2019-02-20 12:20:09 -0700
commit52c910eeca47f140246d003fbb6b4748d1be8bb8 (patch)
tree55f917eef8d7d6c45d5030b505f4e3997f60405a /app/helpers/ci_status_helper.rb
parent54a5d513e5f068c53fad3b2dac04998f5e9afd88 (diff)
downloadgitlab-ce-52c910eeca47f140246d003fbb6b4748d1be8bb8.tar.gz
Remove deprecated ci status helper function
After changing all places that used the function, we can now remove it.
Diffstat (limited to 'app/helpers/ci_status_helper.rb')
-rw-r--r--app/helpers/ci_status_helper.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/app/helpers/ci_status_helper.rb b/app/helpers/ci_status_helper.rb
index 923a06a0512..dfeeecf1228 100644
--- a/app/helpers/ci_status_helper.rb
+++ b/app/helpers/ci_status_helper.rb
@@ -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)}"