Class: Decidim::Meetings::UpcomingMeetingEvent

Inherits:
Events::SimpleEvent
  • Object
show all
Includes:
MeetingEvent
Defined in:
app/events/decidim/meetings/upcoming_meeting_event.rb

Instance Method Summary collapse

Instance Method Details

#email_introObject



10
11
12
# File 'app/events/decidim/meetings/upcoming_meeting_event.rb', line 10

def email_intro
  (custom_message.presence || default_email_intro).to_s.html_safe
end

#i18n_optionsObject



14
15
16
17
18
19
20
21
22
23
24
# File 'app/events/decidim/meetings/upcoming_meeting_event.rb', line 14

def i18n_options
  {
    resource_title:,
    resource_path:,
    resource_url:,
    participatory_space_url:,
    participatory_space_title:,
    reminders_before_hours: resource.send_reminders_before_hours,
    scope: event_name
  }
end