Class: Decidim::Plans::PlanActivityCell
- Inherits:
-
ActivityCell
- Object
- ActivityCell
- Decidim::Plans::PlanActivityCell
- Defined in:
- app/cells/decidim/plans/plan_activity_cell.rb
Overview
A cell to display when a plan has been published.
Instance Method Summary collapse
Instance Method Details
#resource_link_text ⇒ Object
14 15 16 |
# File 'app/cells/decidim/plans/plan_activity_cell.rb', line 14 def resource_link_text Decidim::Plans::PlanPresenter.new(resource).title end |
#title ⇒ Object
7 8 9 10 11 12 |
# File 'app/cells/decidim/plans/plan_activity_cell.rb', line 7 def title I18n.t( "decidim.plans.last_activity.new_plan_at_html", link: participatory_space_link ) end |