-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update email per VV * Update en.yml * Fixing bug with set name in title. Fixing typo. * Change the subject line Co-authored-by: Maura C <[email protected]>
- Loading branch information
1 parent
ad73ebe
commit f882614
Showing
3 changed files
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ def harvest_set_completed(job) | |
@total_errors = job.total_errors | ||
@total_warnings = job.total_warnings | ||
@user = job.user | ||
subject = "Harvest indexing complete for #{@set}" | ||
subject = "Harvesting complete for #{@set}" | ||
subject += " with harvesting #{@total_errors} #{'error'.pluralize(@total_errors)}" if @total_errors.positive? | ||
mail(to: @user.email, from: '[email protected]', subject: subject) | ||
end | ||
|
2 changes: 1 addition & 1 deletion
2
app/views/spotlight/harvesting_complete_mailer/harvest_set_completed.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters