Sha256: a02694db376d9189a047b4ee12be43d6d673a139d5dbd97cf012587f03c45b0a

Contents?: true

Size: 304 Bytes

Versions: 5

Compression:

Stored size: 304 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module ContentBlocks
    class HighlightedContentBannerCell < Decidim::ViewModel
      include Decidim::SanitizeHelper

      def show
        return unless current_organization.highlighted_content_banner_enabled
        render
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
decidim-core-0.18.1 app/cells/decidim/content_blocks/highlighted_content_banner_cell.rb
decidim-core-0.17.2 app/cells/decidim/content_blocks/highlighted_content_banner_cell.rb
decidim-core-0.18.0 app/cells/decidim/content_blocks/highlighted_content_banner_cell.rb
decidim-core-0.17.1 app/cells/decidim/content_blocks/highlighted_content_banner_cell.rb
decidim-core-0.17.0 app/cells/decidim/content_blocks/highlighted_content_banner_cell.rb