Mercurial > hg > soundsoftware-site
diff app/views/timelog/.svn/text-base/_list.rhtml.svn-base @ 441:cbce1fd3b1b7 redmine-1.2
Update to Redmine 1.2-stable branch (Redmine SVN rev 6000)
author | Chris Cannam |
---|---|
date | Mon, 06 Jun 2011 14:24:13 +0100 |
parents | 94944d00e43c |
children |
line wrap: on
line diff
--- a/app/views/timelog/.svn/text-base/_list.rhtml.svn-base Thu Mar 03 11:42:28 2011 +0000 +++ b/app/views/timelog/.svn/text-base/_list.rhtml.svn-base Mon Jun 06 14:24:13 2011 +0100 @@ -1,6 +1,14 @@ +<% form_tag({}) do -%> +<%= hidden_field_tag 'back_url', url_for(params) %> <table class="list time-entries"> <thead> <tr> +<th class="checkbox hide-when-print"> + <%= link_to image_tag('toggle_check.png'), + {}, + :onclick => 'toggleIssuesSelection(Element.up(this, "form")); return false;', + :title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}" %> +</th> <%= sort_header_tag('spent_on', :caption => l(:label_date), :default_order => 'desc') %> <%= sort_header_tag('user', :caption => l(:label_member)) %> <%= sort_header_tag('activity', :caption => l(:label_activity)) %> @@ -13,7 +21,8 @@ </thead> <tbody> <% entries.each do |entry| -%> -<tr class="time-entry <%= cycle("odd", "even") %>"> +<tr class="time-entry <%= cycle("odd", "even") %> hascontextmenu"> +<td class="checkbox hide-when-print"><%= check_box_tag("ids[]", entry.id, false, :id => nil) %></td> <td class="spent_on"><%= format_date(entry.spent_on) %></td> <td class="user"><%=h entry.user %></td> <td class="activity"><%=h entry.activity %></td> @@ -39,3 +48,6 @@ <% end -%> </tbody> </table> +<% end -%> + +<%= context_menu time_entries_context_menu_path %>