Sha256: 0cf50da9e45d6309debc554c7bcd6faac825126aca7e63b5b7301186c5146cfa

Contents?: true

Size: 476 Bytes

Versions: 10

Compression:

Stored size: 476 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Conferences
    class ConferenceRegistrationNotificationEvent < 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_path:,
          resource_url:,
          scope: event_name
        }
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
decidim-conferences-0.29.1 app/events/decidim/conferences/conference_registration_notification_event.rb
decidim-conferences-0.28.4 app/events/decidim/conferences/conference_registration_notification_event.rb
decidim-conferences-0.29.0 app/events/decidim/conferences/conference_registration_notification_event.rb
decidim-conferences-0.28.3 app/events/decidim/conferences/conference_registration_notification_event.rb
decidim-conferences-0.29.0.rc4 app/events/decidim/conferences/conference_registration_notification_event.rb
decidim-conferences-0.29.0.rc3 app/events/decidim/conferences/conference_registration_notification_event.rb
decidim-conferences-0.29.0.rc2 app/events/decidim/conferences/conference_registration_notification_event.rb
decidim-conferences-0.29.0.rc1 app/events/decidim/conferences/conference_registration_notification_event.rb
decidim-conferences-0.28.2 app/events/decidim/conferences/conference_registration_notification_event.rb
decidim-conferences-0.28.1 app/events/decidim/conferences/conference_registration_notification_event.rb