Class: Decidim::Budgets::OrderActivityCell

Inherits:
ActivityCell
  • Object
show all
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



11
12
13
# File 'app/cells/decidim/budgets/order_activity_cell.rb', line 11

def resource_link_path
  resource_locator(budget).path
end


15
16
17
# File 'app/cells/decidim/budgets/order_activity_cell.rb', line 15

def resource_link_text
  decidim_escape_translated(budget.title)
end

#titleObject



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