foodsoft/app/views/mailer/upcoming_tasks.text.haml

8 lines
404 B
Plaintext
Raw Normal View History

= raw t '.text0', user: @user.name, task: @task.name, when: I18n.l(@task.due_date, format: t('mailer.dateformat'))
2019-11-11 11:26:55 +01:00
- if @next_tasks.size > 0
= raw t '.nextweek'
2019-11-11 11:26:55 +01:00
- for next_task in @next_tasks
- next if next_task == @task
* #{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]