Mercurial > hg > soundsoftware-site
comparison app/views/timelog/.svn/text-base/_list.rhtml.svn-base @ 514:7eba09d624db live
Merge
author | Chris Cannam |
---|---|
date | Thu, 14 Jul 2011 10:50:53 +0100 |
parents | cbce1fd3b1b7 |
children |
comparison
equal
deleted
inserted
replaced
512:b9aebdd7dd40 | 514:7eba09d624db |
---|---|
1 <% form_tag({}) do -%> | |
2 <%= hidden_field_tag 'back_url', url_for(params) %> | |
1 <table class="list time-entries"> | 3 <table class="list time-entries"> |
2 <thead> | 4 <thead> |
3 <tr> | 5 <tr> |
6 <th class="checkbox hide-when-print"> | |
7 <%= link_to image_tag('toggle_check.png'), | |
8 {}, | |
9 :onclick => 'toggleIssuesSelection(Element.up(this, "form")); return false;', | |
10 :title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}" %> | |
11 </th> | |
4 <%= sort_header_tag('spent_on', :caption => l(:label_date), :default_order => 'desc') %> | 12 <%= sort_header_tag('spent_on', :caption => l(:label_date), :default_order => 'desc') %> |
5 <%= sort_header_tag('user', :caption => l(:label_member)) %> | 13 <%= sort_header_tag('user', :caption => l(:label_member)) %> |
6 <%= sort_header_tag('activity', :caption => l(:label_activity)) %> | 14 <%= sort_header_tag('activity', :caption => l(:label_activity)) %> |
7 <%= sort_header_tag('project', :caption => l(:label_project)) %> | 15 <%= sort_header_tag('project', :caption => l(:label_project)) %> |
8 <%= sort_header_tag('issue', :caption => l(:label_issue), :default_order => 'desc') %> | 16 <%= sort_header_tag('issue', :caption => l(:label_issue), :default_order => 'desc') %> |
11 <th></th> | 19 <th></th> |
12 </tr> | 20 </tr> |
13 </thead> | 21 </thead> |
14 <tbody> | 22 <tbody> |
15 <% entries.each do |entry| -%> | 23 <% entries.each do |entry| -%> |
16 <tr class="time-entry <%= cycle("odd", "even") %>"> | 24 <tr class="time-entry <%= cycle("odd", "even") %> hascontextmenu"> |
25 <td class="checkbox hide-when-print"><%= check_box_tag("ids[]", entry.id, false, :id => nil) %></td> | |
17 <td class="spent_on"><%= format_date(entry.spent_on) %></td> | 26 <td class="spent_on"><%= format_date(entry.spent_on) %></td> |
18 <td class="user"><%=h entry.user %></td> | 27 <td class="user"><%=h entry.user %></td> |
19 <td class="activity"><%=h entry.activity %></td> | 28 <td class="activity"><%=h entry.activity %></td> |
20 <td class="project"><%=h entry.project %></td> | 29 <td class="project"><%=h entry.project %></td> |
21 <td class="subject"> | 30 <td class="subject"> |
37 </td> | 46 </td> |
38 </tr> | 47 </tr> |
39 <% end -%> | 48 <% end -%> |
40 </tbody> | 49 </tbody> |
41 </table> | 50 </table> |
51 <% end -%> | |
52 | |
53 <%= context_menu time_entries_context_menu_path %> |