Sha256: 698482d6aafc78888e8969646b8b15dfb1d29887bc05fca02abc4354fdb84e11
Contents?: true
Size: 641 Bytes
Versions: 1
Compression:
Stored size: 641 Bytes
Contents
# frozen_string_literal: true module Decidim module Lausanne module Budgets # This cell renders the Budgets component "More information" modal dialog class BudgetInformationModalCell < BaseCell alias budget model def more_information translated_attribute(current_settings.more_information_modal).presence || translated_attribute(settings.more_information_modal) end def component_name translated_attribute(current_component.name) end def i18n_scope "decidim.lausanne_budgets.budget_information_modal" end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
decidim-lausanne-budgets-0.1.0 | app/cells/decidim/lausanne/budgets/budget_information_modal_cell.rb |