##// END OF EJS Templates
add bulk edit items and context menu in time entries list view (#7996)....
Toshi MARUYAMA -
r5194:2029df01ae9b
parent child
Show More
@@ -1,6 +1,14
1 <% form_tag({}) do -%>
2 <%= hidden_field_tag 'back_url', url_for(params) %>
1 3 <table class="list time-entries">
2 4 <thead>
3 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 12 <%= sort_header_tag('spent_on', :caption => l(:label_date), :default_order => 'desc') %>
5 13 <%= sort_header_tag('user', :caption => l(:label_member)) %>
6 14 <%= sort_header_tag('activity', :caption => l(:label_activity)) %>
@@ -13,7 +21,8
13 21 </thead>
14 22 <tbody>
15 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 26 <td class="spent_on"><%= format_date(entry.spent_on) %></td>
18 27 <td class="user"><%=h entry.user %></td>
19 28 <td class="activity"><%=h entry.activity %></td>
@@ -39,3 +48,6
39 48 <% end -%>
40 49 </tbody>
41 50 </table>
51 <% end -%>
52
53 <%= context_menu time_entries_context_menu_path %>
General Comments 0
You need to be logged in to leave comments. Login now