From 7d7eb648c42ae6511cafe2ca703cd15abe60edfb Mon Sep 17 00:00:00 2001 From: Eduardo Navarro Date: Fri, 30 Aug 2019 13:34:31 +0200 Subject: [PATCH] Remove proceed_link Bento helper Now that we are only using the new web interface, we want to get rid of all the helpers only used with Bento. --- src/api/app/helpers/webui/main_helper.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/api/app/helpers/webui/main_helper.rb b/src/api/app/helpers/webui/main_helper.rb index b4dc186276b..abef06f1fc5 100644 --- a/src/api/app/helpers/webui/main_helper.rb +++ b/src/api/app/helpers/webui/main_helper.rb @@ -1,10 +1,4 @@ module Webui::MainHelper - def proceed_link(image, text, link_opts) - content_tag(:li, - link_to(sprite_tag(image, title: text), link_opts) + tag(:br) + - content_tag(:span, link_to(text, link_opts), class: 'proceed_text')) - end - def icon_for_status(message) case message.severity when 1