Class: Decidim::Meetings::UpdateMeetingEvent

Inherits:
Events::BaseEvent show all
Includes:
Events::EmailEvent, Events::NotificationEvent
Defined in:
decidim-meetings/app/events/decidim/meetings/update_meeting_event.rb

Instance Method Summary collapse

Methods inherited from Events::BaseEvent

#initialize, #resource_locator, #resource_path, #resource_url, types

Constructor Details

This class inherits a constructor from Decidim::Events::BaseEvent

Instance Method Details

#email_introObject



13
14
15
# File 'decidim-meetings/app/events/decidim/meetings/update_meeting_event.rb', line 13

def email_intro
  I18n.t("decidim.meetings.events.update_meeting_event.email_intro", resource_title: resource_title)
end

#email_outroObject



17
18
19
# File 'decidim-meetings/app/events/decidim/meetings/update_meeting_event.rb', line 17

def email_outro
  I18n.t("decidim.meetings.events.update_meeting_event.email_outro", resource_title: resource_title)
end

#email_subjectObject



9
10
11
# File 'decidim-meetings/app/events/decidim/meetings/update_meeting_event.rb', line 9

def email_subject
  I18n.t("decidim.meetings.events.update_meeting_event.email_subject", resource_title: resource_title)
end

#notification_titleObject



21
22
23
24
25
26
27
# File 'decidim-meetings/app/events/decidim/meetings/update_meeting_event.rb', line 21

def notification_title
  I18n.t(
    "decidim.meetings.events.update_meeting_event.notification_title",
    resource_title: resource_title,
    resource_path: resource_path
  ).html_safe
end