Mercurial > hg > soundsoftware-site
diff app/views/timelog/_list.html.erb @ 909:cbb26bc654de redmine-1.3
Update to Redmine 1.3-stable branch (Redmine SVN rev 8964)
author | Chris Cannam |
---|---|
date | Fri, 24 Feb 2012 19:09:32 +0000 |
parents | c6c2cbd0afee |
children | 433d4f72a19b |
line wrap: on
line diff
--- a/app/views/timelog/_list.html.erb Fri Feb 24 18:36:29 2012 +0000 +++ b/app/views/timelog/_list.html.erb Fri Feb 24 19:09:32 2012 +0000 @@ -1,12 +1,13 @@ -<% form_tag({}) do -%> +<% form_tag({}) do -%> <%= hidden_field_tag 'back_url', url_for(params) %> +<div class="autoscroll"> <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;', + <%= 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') %> @@ -24,9 +25,9 @@ <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="user"><%= link_to_user(entry.user) %></td> <td class="activity"><%=h entry.activity %></td> -<td class="project"><%=h entry.project %></td> +<td class="project"><%= link_to_project(entry.project) %></td> <td class="subject"> <% if entry.issue -%> <%= entry.issue.visible? ? link_to_issue(entry.issue, :truncate => 50) : "##{entry.issue.id}" -%> @@ -48,6 +49,7 @@ <% end -%> </tbody> </table> +</div> <% end -%> <%= context_menu time_entries_context_menu_path %>