##// END OF EJS Templates
Replaces acts_as_list with an implementation that handles #position= (#12909)....
Replaces acts_as_list with an implementation that handles #position= (#12909). Objects are reordered using the regular attribute writer #position= and AR callbacks. git-svn-id: http://svn.redmine.org/redmine/trunk@15335 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r14889:eaea4e9fee7e
r14953:64afa24a7f72
Show More
_list.html.erb
41 lines | 1.4 KiB | text/plain | TextLexer
Jean-Philippe Lang
Merged rails-3.2 branch....
r9346 <%= form_tag({}) do -%>
Toshi MARUYAMA
add bulk edit items and context menu in time entries list view (#7996)....
r5194 <%= hidden_field_tag 'back_url', url_for(params) %>
Jean-Philippe Lang
Adds an autoscroll div around time entry list and report (#8809)....
r7862 <div class="autoscroll">
Jean-Philippe Lang
Adds date range filter and pagination on time entries detail view (closes #434)....
r1159 <table class="list time-entries">
<thead>
Jean-Philippe Lang
Makes time entry custom fields available for display on the time entries list (#1766)....
r10745 <tr>
<th class="checkbox hide-when-print">
Jean-Philippe Lang
Replaces the link with a checkbox to select/unselect all items in the list....
r14347 <%= check_box_tag 'check_all', '', false, :class => 'toggle-selection',
Jean-Philippe Lang
Makes time entry custom fields available for display on the time entries list (#1766)....
r10745 :title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}" %>
</th>
<% @query.inline_columns.each do |column| %>
<%= column_header(column) %>
<% end %>
<th></th>
</tr>
Jean-Philippe Lang
Adds date range filter and pagination on time entries detail view (closes #434)....
r1159 </thead>
<tbody>
<% entries.each do |entry| -%>
Jean-Philippe Lang
Makes time entry custom fields available for display on the time entries list (#1766)....
r10745 <tr class="time-entry <%= cycle("odd", "even") %> hascontextmenu">
<td class="checkbox hide-when-print"><%= check_box_tag("ids[]", entry.id, false, :id => nil) %></td>
<%= raw @query.inline_columns.map {|column| "<td class=\"#{column.css_classes}\">#{column_content(column, entry)}</td>"}.join %>
Jean-Philippe Lang
Removed deprecated align and width html attributes (#15307)....
r12038 <td class="buttons">
Jean-Philippe Lang
Makes time entry custom fields available for display on the time entries list (#1766)....
r10745 <% if entry.editable_by?(User.current) -%>
Jean-Philippe Lang
Improve accessibility for icon-only links by adding hidden text (#21805)....
r14889 <%= link_to l(:button_edit), edit_time_entry_path(entry),
Jean-Philippe Lang
Replace uses of image_tag() with CSS (#21256)....
r14686 :title => l(:button_edit),
Jean-Philippe Lang
Improve accessibility for icon-only links by adding hidden text (#21805)....
r14889 :class => 'icon-only icon-edit' %>
<%= link_to l(:button_delete), time_entry_path(entry),
Jean-Philippe Lang
Replace uses of image_tag() with CSS (#21256)....
r14686 :data => {:confirm => l(:text_are_you_sure)},
:method => :delete,
:title => l(:button_delete),
:class => 'icon-only icon-del' %>
Jean-Philippe Lang
Makes time entry custom fields available for display on the time entries list (#1766)....
r10745 <% end -%>
</td>
</tr>
Jean-Philippe Lang
Adds date range filter and pagination on time entries detail view (closes #434)....
r1159 <% end -%>
Jean-Philippe Lang
Time report can be done at issue level (closes #970) + timelog views xhtml validation....
r1304 </tbody>
Jean-Philippe Lang
Adds date range filter and pagination on time entries detail view (closes #434)....
r1159 </table>
Jean-Philippe Lang
Adds an autoscroll div around time entry list and report (#8809)....
r7862 </div>
Toshi MARUYAMA
add bulk edit items and context menu in time entries list view (#7996)....
r5194 <% end -%>
<%= context_menu time_entries_context_menu_path %>