finish tasks i18n

This commit is contained in:
wvengen 2013-04-12 00:00:02 +02:00
parent 6c65799025
commit 1a8c8537a4
14 changed files with 139 additions and 67 deletions

View file

@ -5,13 +5,13 @@
%table.table.table-striped
%thead
%tr
%th Fälligkeitsdatum
%th Betreff
%th Verantwortliche Menschen
%th= t '.due_date'
%th= t '.task'
%th= t '.who'
%th
%tbody
- @tasks.each do |task|
%tr
%td= task.due_date unless task.due_date.nil?
%td= link_to "#{task.name} (#{task.duration}h)", :controller => "tasks", :action => "show", :id => task
%td= task_assignments task
%td= link_to t('.task_format', name: task.name, duration: task.duration), :controller => "tasks", :action => "show", :id => task
%td= task_assignments task