foodsoft/app/views/mailer/upcoming_tasks.text.haml
2013-02-06 00:50:59 +01:00

7 lines
394 B
Text

= 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'
- 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]