Sha256: 3f63feb2e97d8d76cdb5e2db3a096a7a5c47597db07ade808d2afaecb4a5b9af
Contents?: true
Size: 690 Bytes
Versions: 13
Compression:
Stored size: 690 Bytes
Contents
# frozen_string_literal: true module Decidim module Comments # A cell to display when a comment has been created. class CommentActivityCell < ActivityCell include CommentCellsHelper def title I18n.t("decidim.comments.last_activity.new_comment") end def participatory_space model.participatory_space_lazy end def participatory_space_link link_to(root_commentable_title, resource_link_path) end def participatory_space_icon resource_type_icon(root_commentable.class) end def hide_participatory_space? = false def comment model.resource_lazy end end end end
Version data entries
13 entries across 13 versions & 1 rubygems