Class: Decidim::Meetings::UpcomingMeetingEvent
Instance Method Summary
collapse
#initialize, #resource_locator, #resource_path, #resource_url, types
Instance Method Details
#email_intro ⇒ Object
13
14
15
|
# File 'decidim-meetings/app/events/decidim/meetings/upcoming_meeting_event.rb', line 13
def email_intro
I18n.t("decidim.meetings.events.upcoming_meeting_event.email_intro", resource_title: resource_title)
end
|
#email_outro ⇒ Object
17
18
19
|
# File 'decidim-meetings/app/events/decidim/meetings/upcoming_meeting_event.rb', line 17
def email_outro
I18n.t("decidim.meetings.events.upcoming_meeting_event.email_outro", resource_title: resource_title)
end
|
#email_subject ⇒ Object
9
10
11
|
# File 'decidim-meetings/app/events/decidim/meetings/upcoming_meeting_event.rb', line 9
def email_subject
I18n.t("decidim.meetings.events.upcoming_meeting_event.email_subject", resource_title: resource_title)
end
|
#notification_title ⇒ Object
21
22
23
24
25
26
27
|
# File 'decidim-meetings/app/events/decidim/meetings/upcoming_meeting_event.rb', line 21
def notification_title
I18n.t(
"decidim.meetings.events.upcoming_meeting_event.notification_title",
resource_title: resource_title,
resource_path: resource_path
).html_safe
end
|