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],
from: user,
subject: I18n.t('mailer.feedback.subject', email: user.email)
subject: I18n.t('mailer.feedback.subject')
end
def not_enough_users_assigned(task, user)

View File

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

View File

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

View File

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

View File

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