Class: Decidim::Initiatives::SpawnCommitteeRequestEvent
Instance Method Summary
collapse
#content_in_same_language?, #initialize, #organization, #perform_translation?, #resource_locator, #resource_path, #resource_text, #resource_title, #resource_url, #safe_resource_text, #safe_resource_translated_text, #translation_missing?, type
#default_locale?
Instance Method Details
#email_intro ⇒ Object
16
17
18
19
20
21
22
23
24
|
# File 'decidim-initiatives/app/events/decidim/initiatives/spawn_committee_request_event.rb', line 16
def email_intro
I18n.t(
"decidim.initiatives.events.spawn_committee_request_event.email_intro",
resource_title:,
resource_url:,
applicant_profile_url:,
applicant_nickname:
)
end
|
#email_outro ⇒ Object
26
27
28
29
30
31
32
|
# File 'decidim-initiatives/app/events/decidim/initiatives/spawn_committee_request_event.rb', line 26
def email_outro
I18n.t(
"decidim.initiatives.events.spawn_committee_request_event.email_outro",
resource_title:,
resource_url:
)
end
|
#email_subject ⇒ Object
9
10
11
12
13
14
|
# File 'decidim-initiatives/app/events/decidim/initiatives/spawn_committee_request_event.rb', line 9
def email_subject
I18n.t(
"decidim.initiatives.events.spawn_committee_request_event.email_subject",
applicant_nickname:
)
end
|
#notification_title ⇒ Object
34
35
36
37
38
39
40
41
42
|
# File 'decidim-initiatives/app/events/decidim/initiatives/spawn_committee_request_event.rb', line 34
def notification_title
I18n.t(
"decidim.initiatives.events.spawn_committee_request_event.notification_title",
resource_title:,
resource_url:,
applicant_profile_url:,
applicant_nickname:
).html_safe
end
|