Sha256: af5b3dd6ba84e1b027b179b1752f3521bf21518a6156dc9a7c09e9f051f73935
Contents?: true
Size: 595 Bytes
Versions: 12
Compression:
Stored size: 595 Bytes
Contents
# frozen_string_literal: true module Decidim module Budgets # A cell to display when actions happen on an order. class OrderActivityCell < ActivityCell def title I18n.t( "decidim.budgets.last_activity.new_vote_at_html", link: participatory_space_link ) end def resource_link_path resource_locator(budget).path end def resource_link_text decidim_html_escape(translated_attribute(budget.title)) end private def budget @budget ||= resource.budget end end end end
Version data entries
12 entries across 12 versions & 1 rubygems