sul-dlss / happy-heron

Self-Deposit for the Stanford Digital Repository (SDR): H2 is a Rails web application enabling users to deposit scholarly content into SDR
Apache License 2.0
10 stars 2 forks source link

Update 4 email notifications to avoid confusing text about versioning #3516

Closed amyehodge closed 7 months ago

amyehodge commented 7 months ago

Note that these can be pushed out to production any time and don't need to be behind a feature flag.

1. FILE: app/views/works_mailer/new_version_deposited_email.html.erb

Change the first sentence

FROM: A new version of your deposit, “<%= @work_version.title %>” is now published in the <%= @work.collection_name %> collection in the Stanford Digital Repository.

TO: Updates to your deposit, “<%= @work_version.title %>,” are now published in the <%= @work.collection_name %> collection in the Stanford Digital Repository.

2. FILE: app/views/works_mailer/new_version_reminder_email.html.erb

Change the first sentence

FROM: We noticed you haven’t finished the new version of your deposit.

TO: We noticed you left a new draft of your SDR deposit in progress.

3. FILE: app/views/collections_mailer/version_draft_created.html.erb

Change the first sentence

FROM: The Depositor <%= @owner.name %> has started a <%= link_to 'new version', work_url(@work) %> in the <%= @collection_version.name %> collection.

TO: The Depositor <%= @owner.name %> has created a <%= link_to 'new draft', work_url(@work) %> of an item in the <%= @collection_version.name %> collection.

4. FILE: app/views/collections_mailer/new_version_reminder_email.html.erb

Change the first sentence

FROM: We noticed you haven't finished the new version of your collection.

TO: We noticed you left a new draft of your SDR collection in progress.