diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2019-01-23 14:06:30 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2019-01-25 12:40:52 +0300 |
commit | 8bd9f8ccef5a95ff343cb33aa2e7c1d9fa2a3e47 (patch) | |
tree | f41eab66169fcde73bd8ddc081a0d48cb1e85ed5 /app | |
parent | db33021d633881939f1c890effae3bfc77f4b966 (diff) |
Remove bridge presenter since we no longer need it
Diffstat (limited to 'app')
-rw-r--r-- | app/presenters/ci/bridge_presenter.rb | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/app/presenters/ci/bridge_presenter.rb b/app/presenters/ci/bridge_presenter.rb deleted file mode 100644 index 2c15f25da93..00000000000 --- a/app/presenters/ci/bridge_presenter.rb +++ /dev/null @@ -1,23 +0,0 @@ -# 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 |