Sha256: d28e3052b836bb705dbea35125f4b311a935419630595e3f76cb3b9c3edbd517

Contents?: true

Size: 430 Bytes

Versions: 10

Compression:

Stored size: 430 Bytes

Contents

module Hyrax
  module Workflow
    class PendingReviewNotification < AbstractNotification
      protected

        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

      private

        def users_to_notify
          super << user
        end
    end
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
hyrax-1.1.1 app/services/hyrax/workflow/pending_review_notification.rb
hyrax-1.1.0 app/services/hyrax/workflow/pending_review_notification.rb
hyrax-1.0.5 app/services/hyrax/workflow/pending_review_notification.rb
hyrax-1.0.4 app/services/hyrax/workflow/pending_review_notification.rb
hyrax-1.0.3 app/services/hyrax/workflow/pending_review_notification.rb
hyrax-1.0.2 app/services/hyrax/workflow/pending_review_notification.rb
hyrax-1.0.1 app/services/hyrax/workflow/pending_review_notification.rb
hyrax-1.0.0.rc2 app/services/hyrax/workflow/pending_review_notification.rb
hyrax-1.0.0.rc1 app/services/hyrax/workflow/pending_review_notification.rb
test_hyrax-0.0.1.alpha app/services/hyrax/workflow/pending_review_notification.rb