Sha256: 1c7868a837df48f7f4b8f06b339af635bc7ccd1bcc364da317509092db30ff7b
Contents?: true
Size: 587 Bytes
Versions: 2
Compression:
Stored size: 587 Bytes
Contents
# frozen_string_literal: true module Decidim module Proposals # A cell to display when a proposal has been published. class ProposalActivityCell < ActivityCell def title I18n.t( "decidim.proposals.last_activity.new_proposal_at_html", link: participatory_space_link ) end def resource_link_text presenter.title end def description presenter.body(links: true) end def presenter @presenter ||= Decidim::Proposals::ProposalPresenter.new(resource) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
decidim-proposals-0.16.1 | app/cells/decidim/proposals/proposal_activity_cell.rb |
decidim-proposals-0.17.0 | app/cells/decidim/proposals/proposal_activity_cell.rb |