Sha256: 5dfe9ebfe378468bd086a838cd82005743da71493c935181f43941d689cf4654
Contents?: true
Size: 528 Bytes
Versions: 7
Compression:
Stored size: 528 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") 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
7 entries across 7 versions & 1 rubygems