Commit 8bd9f8cc authored by Grzegorz Bizon's avatar Grzegorz Bizon

Remove bridge presenter since we no longer need it

parent db33021d
# frozen_string_literal: true
module Ci
class BridgePresenter < CommitStatusPresenter
def status_title
tooltip_for_badge
end
def tooltip_message
"#{subject.name} - #{detailed_status.status_tooltip}"
end
private
def tooltip_for_badge
detailed_status.badge_tooltip.capitalize
end
def detailed_status
@detailed_status ||= subject.detailed_status(user)
end
end
end
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