Class: Decidim::Meetings::MeetingRegistrationsOverPercentageEvent
Instance Method Summary
collapse
#initialize, #resource_locator, #resource_path, #resource_url, types
Instance Method Details
#email_intro ⇒ Object
17
18
19
20
21
22
23
|
# File 'decidim-meetings/app/events/decidim/meetings/meeting_registrations_over_percentage_event.rb', line 17
def email_intro
I18n.t(
"decidim.meetings.events.meeting_registrations_over_percentage.email_intro",
resource_title: resource_title,
percentage: ["percentage"] * 100
)
end
|
#email_outro ⇒ Object
25
26
27
28
29
30
31
|
# File 'decidim-meetings/app/events/decidim/meetings/meeting_registrations_over_percentage_event.rb', line 25
def email_outro
I18n.t(
"decidim.meetings.events.meeting_registrations_over_percentage.email_outro",
resource_title: resource_title,
percentage: ["percentage"] * 100
)
end
|
#email_subject ⇒ Object
9
10
11
12
13
14
15
|
# File 'decidim-meetings/app/events/decidim/meetings/meeting_registrations_over_percentage_event.rb', line 9
def email_subject
I18n.t(
"decidim.meetings.events.meeting_registrations_over_percentage.email_subject",
resource_title: resource_title,
percentage: ["percentage"] * 100
)
end
|
#notification_title ⇒ Object
33
34
35
36
37
38
39
40
|
# File 'decidim-meetings/app/events/decidim/meetings/meeting_registrations_over_percentage_event.rb', line 33
def notification_title
I18n.t(
"decidim.meetings.events.meeting_registrations_over_percentage.notification_title",
resource_title: resource_title,
resource_path: resource_path,
percentage: ["percentage"] * 100
).html_safe
end
|