-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8144 from fjordllc/chore/add-return-date-and-reas…
…on-to-suspension-notification 休会時のお知らせメール内に復帰予定日と理由を表示するようにした
- Loading branch information
Showing
3 changed files
with
14 additions
and
6 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
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 |
---|---|---|
@@ -1,3 +1,10 @@ | ||
= render '/notification_mailer/notification_mailer_template', | ||
title: "#{@sender.login_name}さんが休会しました。", | ||
link_url: @link_url, link_text: "#{@sender.login_name}さんのページへ" do | ||
.a-long-text | ||
h2 | ||
= Hibernation.human_attribute_name('scheduled_return_on') | ||
= @hibernation.scheduled_return_on | ||
h2 | ||
= Hibernation.human_attribute_name('reason') | ||
= md2html(@hibernation.reason) |
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