Sha256: 2bb4dc0ed6d8cc309e4ecebd67c884182896f5009295e66bff5cabe671afb52f

Contents?: true

Size: 390 Bytes

Versions: 62

Compression:

Stored size: 390 Bytes

Contents

module Workarea
  module Admin
    module SearchCustomizationsHelper
      def icon_for_search_middleware_status(status)
        if status == :ignore
          '✗'
        elsif status == :last
          '✓'
        else
          '↓'
        end
      end

      def search_middleware_display_name(klass)
        klass.name.demodulize.underscore.humanize
      end
    end
  end
end

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-admin-3.5.27 app/helpers/workarea/admin/search_customizations_helper.rb
workarea-admin-3.5.26 app/helpers/workarea/admin/search_customizations_helper.rb
workarea-admin-3.4.45 app/helpers/workarea/admin/search_customizations_helper.rb
workarea-admin-3.5.25 app/helpers/workarea/admin/search_customizations_helper.rb
workarea-admin-3.5.23 app/helpers/workarea/admin/search_customizations_helper.rb
workarea-admin-3.4.44 app/helpers/workarea/admin/search_customizations_helper.rb
workarea-admin-3.5.22 app/helpers/workarea/admin/search_customizations_helper.rb
workarea-admin-3.4.43 app/helpers/workarea/admin/search_customizations_helper.rb
workarea-admin-3.5.21 app/helpers/workarea/admin/search_customizations_helper.rb
workarea-admin-3.4.42 app/helpers/workarea/admin/search_customizations_helper.rb
workarea-admin-3.5.20 app/helpers/workarea/admin/search_customizations_helper.rb
workarea-admin-3.4.41 app/helpers/workarea/admin/search_customizations_helper.rb
workarea-admin-3.5.19 app/helpers/workarea/admin/search_customizations_helper.rb
workarea-admin-3.4.40 app/helpers/workarea/admin/search_customizations_helper.rb
workarea-admin-3.5.18 app/helpers/workarea/admin/search_customizations_helper.rb
workarea-admin-3.4.39 app/helpers/workarea/admin/search_customizations_helper.rb
workarea-admin-3.5.17 app/helpers/workarea/admin/search_customizations_helper.rb
workarea-admin-3.4.38 app/helpers/workarea/admin/search_customizations_helper.rb
workarea-admin-3.5.16 app/helpers/workarea/admin/search_customizations_helper.rb
workarea-admin-3.4.37 app/helpers/workarea/admin/search_customizations_helper.rb