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

8 lines
394 B
Plaintext
Raw Normal View History

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