Class: Decidim::Meetings::MeetingActivityCell
- Inherits:
-
ActivityCell
- Object
- ActivityCell
- Decidim::Meetings::MeetingActivityCell
- Defined in:
- app/cells/decidim/meetings/meeting_activity_cell.rb
Overview
A cell to display when actions happen on a meeting.
Instance Method Summary collapse
Instance Method Details
#resource_link_text ⇒ Object
11 12 13 |
# File 'app/cells/decidim/meetings/meeting_activity_cell.rb', line 11 def resource_link_text Decidim::Meetings::MeetingPresenter.new(resource).title end |
#title ⇒ Object
7 8 9 |
# File 'app/cells/decidim/meetings/meeting_activity_cell.rb', line 7 def title action == "update" ? I18n.t("decidim.meetings.last_activity.meeting_updated") : I18n.t("decidim.meetings.last_activity.new_meeting") end |