Sha256: 2d2eef499b5eb45fb42b89c6ced38f22ef4e72cd278c136a4f21b3ab0889ba0a

Contents?: true

Size: 527 Bytes

Versions: 46

Compression:

Stored size: 527 Bytes

Contents

# frozen-string_literal: true

module Decidim
  module Meetings
    class MeetingRegistrationNotificationEvent < Decidim::Events::BaseEvent
      include Decidim::Events::NotificationEvent

      def notification_title
        I18n.t("notification_title", i18n_options).html_safe
      end

      def i18n_options
        {
          resource_title: resource_title,
          resource_url: resource_url,
          scope: event_name,
          registration_code: extra["registration_code"]
        }
      end
    end
  end
end

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
decidim-meetings-0.26.10 app/events/decidim/meetings/meeting_registration_notification_event.rb
decidim-meetings-0.26.9 app/events/decidim/meetings/meeting_registration_notification_event.rb
decidim-meetings-0.26.8 app/events/decidim/meetings/meeting_registration_notification_event.rb
decidim-meetings-0.26.7 app/events/decidim/meetings/meeting_registration_notification_event.rb
decidim-meetings-0.26.5 app/events/decidim/meetings/meeting_registration_notification_event.rb
decidim-meetings-0.26.4 app/events/decidim/meetings/meeting_registration_notification_event.rb
decidim-meetings-0.26.3 app/events/decidim/meetings/meeting_registration_notification_event.rb
decidim-meetings-0.26.2 app/events/decidim/meetings/meeting_registration_notification_event.rb
decidim-meetings-0.26.1 app/events/decidim/meetings/meeting_registration_notification_event.rb
decidim-meetings-0.26.0 app/events/decidim/meetings/meeting_registration_notification_event.rb
decidim-meetings-0.26.0.rc2 app/events/decidim/meetings/meeting_registration_notification_event.rb
decidim-meetings-0.26.0.rc1 app/events/decidim/meetings/meeting_registration_notification_event.rb
decidim-meetings-0.25.2 app/events/decidim/meetings/meeting_registration_notification_event.rb
decidim-meetings-0.25.1 app/events/decidim/meetings/meeting_registration_notification_event.rb
decidim-meetings-0.25.0 app/events/decidim/meetings/meeting_registration_notification_event.rb
decidim-meetings-0.25.0.rc4 app/events/decidim/meetings/meeting_registration_notification_event.rb
decidim-meetings-0.25.0.rc3 app/events/decidim/meetings/meeting_registration_notification_event.rb
decidim-meetings-0.25.0.rc2 app/events/decidim/meetings/meeting_registration_notification_event.rb
decidim-meetings-0.25.0.rc1 app/events/decidim/meetings/meeting_registration_notification_event.rb
decidim-meetings-0.24.3 app/events/decidim/meetings/meeting_registration_notification_event.rb