Sha256: 85132fe77162ff61a3d4e9d822228703afaf826de2377777ae3d117b4c73fd1b

Contents?: true

Size: 361 Bytes

Versions: 58

Compression:

Stored size: 361 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Budgets
    # This cell renders the Budgets component header
    class BudgetsHeaderCell < BaseCell
      private

      def landing_page_content
        translated_attribute(current_settings.landing_page_content).presence || translated_attribute(settings.landing_page_content)
      end
    end
  end
end

Version data entries

58 entries across 58 versions & 1 rubygems

Version Path
decidim-budgets-0.29.1 app/cells/decidim/budgets/budgets_header_cell.rb
decidim-budgets-0.28.4 app/cells/decidim/budgets/budgets_header_cell.rb
decidim-budgets-0.27.9 app/cells/decidim/budgets/budgets_header_cell.rb
decidim-budgets-0.29.0 app/cells/decidim/budgets/budgets_header_cell.rb
decidim-budgets-0.28.3 app/cells/decidim/budgets/budgets_header_cell.rb
decidim-budgets-0.27.8 app/cells/decidim/budgets/budgets_header_cell.rb
decidim-budgets-0.29.0.rc4 app/cells/decidim/budgets/budgets_header_cell.rb
decidim-budgets-0.29.0.rc3 app/cells/decidim/budgets/budgets_header_cell.rb
decidim-budgets-0.29.0.rc2 app/cells/decidim/budgets/budgets_header_cell.rb
decidim-budgets-0.29.0.rc1 app/cells/decidim/budgets/budgets_header_cell.rb
decidim-budgets-0.28.2 app/cells/decidim/budgets/budgets_header_cell.rb
decidim-budgets-0.27.7 app/cells/decidim/budgets/budgets_header_cell.rb
decidim-budgets-0.28.1 app/cells/decidim/budgets/budgets_header_cell.rb
decidim-budgets-0.27.6 app/cells/decidim/budgets/budgets_header_cell.rb
decidim-budgets-0.26.10 app/cells/decidim/budgets/budgets_header_cell.rb
decidim-budgets-0.26.9 app/cells/decidim/budgets/budgets_header_cell.rb
decidim-budgets-0.28.0 app/cells/decidim/budgets/budgets_header_cell.rb
decidim-budgets-0.27.5 app/cells/decidim/budgets/budgets_header_cell.rb
decidim-budgets-0.28.0.rc5 app/cells/decidim/budgets/budgets_header_cell.rb
decidim-budgets-0.28.0.rc4 app/cells/decidim/budgets/budgets_header_cell.rb