Sha256: 3e505169110f569e93616b7a063e2cd470064e14d94c1b9a4ecd0931b5abaf29

Contents?: true

Size: 413 Bytes

Versions: 44

Compression:

Stored size: 413 Bytes

Contents

module Hyrax
  module Workflow
    class PendingReviewNotification < AbstractNotification
      private

        def subject
          'Deposit needs review'
        end

        def message
          "#{title} (#{link_to work_id, document_path}) was deposited by #{user.user_key} and is awaiting approval #{comment}"
        end

        def users_to_notify
          super << user
        end
    end
  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
hyrax-2.9.6 app/services/hyrax/workflow/pending_review_notification.rb
hyrax-2.9.5 app/services/hyrax/workflow/pending_review_notification.rb
hyrax-2.9.4 app/services/hyrax/workflow/pending_review_notification.rb
hyrax-2.9.3 app/services/hyrax/workflow/pending_review_notification.rb
hyrax-2.9.2 app/services/hyrax/workflow/pending_review_notification.rb
hyrax-2.9.1 app/services/hyrax/workflow/pending_review_notification.rb
hyrax-2.9.0 app/services/hyrax/workflow/pending_review_notification.rb
hyrax-2.8.0 app/services/hyrax/workflow/pending_review_notification.rb
hyrax-2.7.2 app/services/hyrax/workflow/pending_review_notification.rb
hyrax-2.7.1 app/services/hyrax/workflow/pending_review_notification.rb
hyrax-2.7.0 app/services/hyrax/workflow/pending_review_notification.rb
hyrax-2.6.0 app/services/hyrax/workflow/pending_review_notification.rb
hyrax-2.5.1 app/services/hyrax/workflow/pending_review_notification.rb
hyrax-2.5.0 app/services/hyrax/workflow/pending_review_notification.rb
hyrax-2.4.1 app/services/hyrax/workflow/pending_review_notification.rb
hyrax-2.4.0 app/services/hyrax/workflow/pending_review_notification.rb
hyrax-2.3.3 app/services/hyrax/workflow/pending_review_notification.rb
hyrax-2.3.2 app/services/hyrax/workflow/pending_review_notification.rb
hyrax-2.3.1 app/services/hyrax/workflow/pending_review_notification.rb
hyrax-2.3.0 app/services/hyrax/workflow/pending_review_notification.rb