Commit 0e4c264b385116ed73720587c169cfa2b8eff220
1 parent
9f32ff06
Exists in
staging
and in
42 other branches
ActionItem172: displaying a little more information about tasks
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1551 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
2 changed files
with
25 additions
and
1 deletions
Show diff stats
app/views/tasks/processed.rhtml
@@ -5,7 +5,22 @@ | @@ -5,7 +5,22 @@ | ||
5 | <% else %> | 5 | <% else %> |
6 | <ul> | 6 | <ul> |
7 | <% @tasks.each do |item| %> | 7 | <% @tasks.each do |item| %> |
8 | - <li><%= item.class.name %></li> | 8 | + <li> |
9 | + <table> | ||
10 | + <tr> | ||
11 | + <th><%= _('Task') %></th> | ||
12 | + <td><%= item.description %></td> | ||
13 | + </tr> | ||
14 | + <tr> | ||
15 | + <th><%= _('Created') %></th> | ||
16 | + <td><%= show_date (item.created_at) %></th> | ||
17 | + </tr> | ||
18 | + <tr> | ||
19 | + <th><%= _('Processed') %></th> | ||
20 | + <td><%= show_date (item.end_date) %></th> | ||
21 | + </tr> | ||
22 | + </table> | ||
23 | + </li> | ||
9 | <% end %> | 24 | <% end %> |
10 | </ul> | 25 | </ul> |
11 | <% end %> | 26 | <% end %> |