finish mailer i18n
This commit is contained in:
parent
b12a906a74
commit
de730808e7
10 changed files with 115 additions and 77 deletions
|
|
@ -1,11 +1,7 @@
|
|||
Liebe(r) #{@user.name},
|
||||
\
|
||||
Du bist für "#{@task.name}" eingetragen. Die Aufgabe ist morgen (#{I18n.l @task.due_date, format: "%d. %b"}) fällig!
|
||||
= t '.text0', user: @user.name, task: @task.name, when: I18n.l(@task.due_date, format: t('mailer.dateformat'))
|
||||
- if @user.next_tasks.size > 0
|
||||
Aufgaben für die nächste Woche:
|
||||
= t '.nextweek'
|
||||
- for next_task in @user.next_tasks
|
||||
- next if next_task == @task
|
||||
* #{I18n.l next_task.due_date, format: "%d. %b"} #{next_task.name}
|
||||
Meine Aufgaben: #{user_tasks_url}
|
||||
\
|
||||
Viele Grüße von #{FoodsoftConfig[:name]}
|
||||
* #{I18n.l next_task.due_date, format: t('mailer.dateformat')} #{next_task.name}
|
||||
= t '.text1', user_tasks_url: user_tasks_url, foodcoop: FoodsoftConfig[:name]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue