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.
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.
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.