Remove email from subject of feedback mail

The mail address of the user sending the feedback is now set in the
Reply-To header of the mail already.
This commit is contained in:
Patrick Gansterer 2017-08-18 00:38:26 +02:00
parent c71b91a32f
commit add281c738
5 changed files with 5 additions and 5 deletions

View file

@ -64,7 +64,7 @@ class Mailer < ActionMailer::Base
mail to: FoodsoftConfig[:notification][:error_recipients], mail to: FoodsoftConfig[:notification][:error_recipients],
from: user, from: user,
subject: I18n.t('mailer.feedback.subject', email: user.email) subject: I18n.t('mailer.feedback.subject')
end end
def not_enough_users_assigned(task, user) def not_enough_users_assigned(task, user)

View file

@ -1169,7 +1169,7 @@ de:
dateformat: "%d. %b" dateformat: "%d. %b"
feedback: feedback:
header: "%{user} schrieb am %{date}:" header: "%{user} schrieb am %{date}:"
subject: Feedback von %{email} subject: Feedback zur Foodsoft
invite: invite:
subject: Einladung in die Foodcoop subject: Einladung in die Foodcoop
text: | text: |

View file

@ -1171,7 +1171,7 @@ en:
dateformat: "%d %b" dateformat: "%d %b"
feedback: feedback:
header: "%{user} wrote at %{date}:" header: "%{user} wrote at %{date}:"
subject: Feedback from %{email} subject: Feedback for Foodsoft
invite: invite:
subject: Invitation to the Foodcoop subject: Invitation to the Foodcoop
text: | text: |

View file

@ -1188,7 +1188,7 @@ fr:
dateformat: "%d %b" dateformat: "%d %b"
feedback: feedback:
header: 'Le %{date}, %{user} a écrit:' header: 'Le %{date}, %{user} a écrit:'
subject: Retour de %{email} subject: Feedback pour Foodsoft
invite: invite:
subject: Invitation à participer à une Bouffecoop subject: Invitation à participer à une Bouffecoop
text: |- text: |-

View file

@ -1171,7 +1171,7 @@ nl:
dateformat: "%d %b" dateformat: "%d %b"
feedback: feedback:
header: "%{user} schreef op %{date}:" header: "%{user} schreef op %{date}:"
subject: Feedback van %{email} subject: Feedback voor Foodsoft
invite: invite:
subject: Uitnodiging voor de foodcoop subject: Uitnodiging voor de foodcoop
text: |- text: |-