Class: Decidim::Budgets::BudgetInformationModalCell

Inherits:
BaseCell
  • Object
show all
Defined in:
app/cells/decidim/budgets/budget_information_modal_cell.rb

Overview

This cell renders the Budgets component “More information” modal dialog

Instance Method Summary collapse

Methods inherited from BaseCell

#budgets_link_list

Instance Method Details

#component_nameObject



13
14
15
# File 'app/cells/decidim/budgets/budget_information_modal_cell.rb', line 13

def component_name
  translated_attribute(current_component.name)
end

#i18n_scopeObject



17
18
19
# File 'app/cells/decidim/budgets/budget_information_modal_cell.rb', line 17

def i18n_scope
  "decidim.budgets.budget_information_modal"
end

#more_informationObject



9
10
11
# File 'app/cells/decidim/budgets/budget_information_modal_cell.rb', line 9

def more_information
  translated_attribute(current_settings.more_information_modal).presence || translated_attribute(settings.more_information_modal)
end