Sha256: 80b4cf7b6dc3301c014598d81b57a733f1833a0330b8f4bf058240b674026e0a

Contents?: true

Size: 889 Bytes

Versions: 28

Compression:

Stored size: 889 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Meetings
    class UpdateMeetingEvent < Decidim::Events::BaseEvent
      include Decidim::Events::EmailEvent
      include Decidim::Events::NotificationEvent

      def email_subject
        I18n.t("decidim.meetings.events.update_meeting_event.email_subject", resource_title: resource_title)
      end

      def email_intro
        I18n.t("decidim.meetings.events.update_meeting_event.email_intro", resource_title: resource_title)
      end

      def email_outro
        I18n.t("decidim.meetings.events.update_meeting_event.email_outro", resource_title: resource_title)
      end

      def notification_title
        I18n.t(
          "decidim.meetings.events.update_meeting_event.notification_title",
          resource_title: resource_title,
          resource_path: resource_path
        ).html_safe
      end
    end
  end
end

Version data entries

28 entries across 28 versions & 2 rubygems

Version Path
decidim-meetings-0.8.4 app/events/decidim/meetings/update_meeting_event.rb
decidim-meetings-0.8.3 app/events/decidim/meetings/update_meeting_event.rb
decidim-meetings-0.8.2 app/events/decidim/meetings/update_meeting_event.rb
decidim-meetings-0.8.1 app/events/decidim/meetings/update_meeting_event.rb
decidim-meetings-0.8.0 app/events/decidim/meetings/update_meeting_event.rb
decidim-meetings-0.7.4 app/events/decidim/meetings/update_meeting_event.rb
decidim-meetings-0.7.3 app/events/decidim/meetings/update_meeting_event.rb
decidim-meetings-0.7.2 app/events/decidim/meetings/update_meeting_event.rb
decidim-meetings-0.7.1 app/events/decidim/meetings/update_meeting_event.rb
decidim-meetings-0.7.0 app/events/decidim/meetings/update_meeting_event.rb
decidim-meetings-0.6.8 app/events/decidim/meetings/update_meeting_event.rb
decidim-0.6.8 decidim-meetings/app/events/decidim/meetings/update_meeting_event.rb
decidim-meetings-0.6.7 app/events/decidim/meetings/update_meeting_event.rb
decidim-0.6.7 decidim-meetings/app/events/decidim/meetings/update_meeting_event.rb
decidim-meetings-0.6.6 app/events/decidim/meetings/update_meeting_event.rb
decidim-0.6.6 decidim-meetings/app/events/decidim/meetings/update_meeting_event.rb
decidim-meetings-0.6.5 app/events/decidim/meetings/update_meeting_event.rb
decidim-0.6.5 decidim-meetings/app/events/decidim/meetings/update_meeting_event.rb
decidim-meetings-0.6.4 app/events/decidim/meetings/update_meeting_event.rb
decidim-0.6.4 decidim-meetings/app/events/decidim/meetings/update_meeting_event.rb