Sha256: 35c3fea75aaf4c4e8e2243010f86f4891adecc05a1e5ed425295ce856e56b33e
Contents?: true
Size: 456 Bytes
Versions: 13
Compression:
Stored size: 456 Bytes
Contents
# frozen_string_literal: true module Decidim module Meetings # A cell to display when actions happen on a meeting. class MeetingActivityCell < ActivityCell def title action == "update" ? I18n.t("decidim.meetings.last_activity.meeting_updated") : I18n.t("decidim.meetings.last_activity.new_meeting") end def resource_link_text Decidim::Meetings::MeetingPresenter.new(resource).title end end end end
Version data entries
13 entries across 13 versions & 1 rubygems