Defect #8809
Table in timelog report overflows
| Status: | Closed | Start date: | 2011-07-14 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | Jean-Philippe Lang | % Done: | 0% |
|
| Category: | UI | |||
| Target version: | 1.2.3 | |||
| Affected version: | 1.2.1 | Resolution: | Fixed |
Description
I think a screenshot says more than words: Spent_time_bug.PNG
The fix Spent_time_fix.PNG needs a <div> around the table.
File /{redmine_root}/app/views/time_entry_reports/report.rhtml
<p><%= l(:label_total) %>: <%= html_hours(l_hours(@total_hours)) %></p>
</div>
<% unless @hours.empty? %>
Line 41: + <div class="overflow-auto">
<table class="list" id="time-report">
<thead>
<tr>
<% @criterias.each do |criteria| %>
.
.
.
<td class="hours"><%= html_hours("%.2f" % total) if total > 0 %></td>
</tr>
</tbody>
</table>
Line 69: + </div>
<% other_formats_links do |f| %>
<%= f.link_to 'CSV', :url => params %>
<% end %>
<% end %>
<% end %>
Add the CSS-Class "overflow-auto" to the theme
div.overflow-auto {
overflow: auto;
}
Associated revisions
Adds an autoscroll div around time entry list and report (#8809).
History
#1 Updated by Toshi MARUYAMA 11 months ago
- Subject changed from Table in timelog report is to long to Table in timelog report is too long
- Resolution deleted (
Fixed)
#2 Updated by Etienne Massip 11 months ago
- Target version set to Candidate for next minor release
- Affected version changed from 1.1.2 to 1.2.1
#3 Updated by Jean-Philippe Lang 6 months ago
- Subject changed from Table in timelog report is too long to Table in timelog report overflows
- Status changed from New to Resolved
- Assignee set to Jean-Philippe Lang
- Target version changed from Candidate for next minor release to 1.2.3
- Resolution set to Fixed
Fixed in r7982.
#4 Updated by Jean-Philippe Lang 6 months ago
- Status changed from Resolved to Closed
Merged in r7996.