Fixed admin, orders, wiki views. Converted all erb to haml.
This commit is contained in:
parent
699fb9b233
commit
552c553b77
169 changed files with 1158 additions and 1307 deletions
11
app/views/mailer/upcoming_tasks.text.haml
Normal file
11
app/views/mailer/upcoming_tasks.text.haml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
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!
|
||||
- if @user.next_tasks.size > 0
|
||||
Aufgaben für die nächste Woche:
|
||||
- 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]}
|
||||
Loading…
Add table
Add a link
Reference in a new issue