remove html escaping from all text mails

This commit is contained in:
wvengen 2014-09-01 11:08:32 +02:00
parent 8913ad615c
commit 0b08d461fa
6 changed files with 12 additions and 12 deletions

View file

@ -1,7 +1,7 @@
= t '.text0', user: @user.name, task: @task.name, when: I18n.l(@task.due_date, format: t('mailer.dateformat'))
= raw t '.text0', user: @user.name, task: @task.name, when: I18n.l(@task.due_date, format: t('mailer.dateformat'))
- if @user.next_tasks.size > 0
= t '.nextweek'
= raw t '.nextweek'
- for next_task in @user.next_tasks
- next if next_task == @task
* #{I18n.l next_task.due_date, format: t('mailer.dateformat')} #{next_task.name}
= t '.text1', user_tasks_url: user_tasks_url, foodcoop: FoodsoftConfig[:name]
* #{raw I18n.l next_task.due_date, format: t('mailer.dateformat')} #{raw next_task.name}
= raw t '.text1', user_tasks_url: user_tasks_url, foodcoop: FoodsoftConfig[:name]