Class: Decidim::Budgets::OrderActivityCell
- Inherits:
-
ActivityCell
- Object
- ActivityCell
- Decidim::Budgets::OrderActivityCell
- Defined in:
- app/cells/decidim/budgets/order_activity_cell.rb
Overview
A cell to display when actions happen on an order.
Instance Method Summary collapse
Instance Method Details
#resource_link_path ⇒ Object
11 12 13 |
# File 'app/cells/decidim/budgets/order_activity_cell.rb', line 11 def resource_link_path resource_locator(budget).path end |
#resource_link_text ⇒ Object
15 16 17 |
# File 'app/cells/decidim/budgets/order_activity_cell.rb', line 15 def resource_link_text decidim_escape_translated(budget.title) end |
#title ⇒ Object
7 8 9 |
# File 'app/cells/decidim/budgets/order_activity_cell.rb', line 7 def title I18n.t("decidim.budgets.last_activity.new_vote_at") end |