]> source.dussan.org Git - redmine.git/commitdiff
Adds an autoscroll div around time entry list and report (#8809).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 29 Nov 2011 18:32:28 +0000 (18:32 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 29 Nov 2011 18:32:28 +0000 (18:32 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7982 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/time_entry_reports/report.html.erb
app/views/timelog/_list.html.erb

index feb31e82cf32ae6e5530174656ff24eca18871de..0af89a1de0575c371002bb87958b71e7cea6c608 100644 (file)
@@ -32,6 +32,7 @@
 </div>
 
 <% unless @hours.empty? %>
+<div class="autoscroll">
 <table class="list" id="time-report">
 <thead>
 <tr>
@@ -59,6 +60,7 @@
   </tr>
 </tbody>
 </table>
+</div>
 
 <% other_formats_links do |f| %>
   <%= f.link_to 'CSV', :url => params %>
index f0454bf9a931f2b869269acf27ec9113946c4054..4e86d78335c3d1438e7b6d83d0c67acdd16bf621 100644 (file)
@@ -1,5 +1,6 @@
 <% form_tag({}) do -%>
 <%= hidden_field_tag 'back_url', url_for(params) %>
+<div class="autoscroll">
 <table class="list time-entries">
 <thead>
 <tr>
@@ -48,6 +49,7 @@
 <% end -%>
 </tbody>
 </table>
+</div>
 <% end -%>
 
 <%= context_menu time_entries_context_menu_path %>