#12919 closed defect (fixed)
Reports with a single column look strange
Reported by: | anonymous | Owned by: | Jun Omae |
---|---|---|---|
Priority: | normal | Milestone: | 1.3.3 |
Component: | report system | Version: | 1.3dev |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Fix malformed html being rendered when a report has only one column. |
Description
For example the following report with a single column looks very strange:
SELECT DISTINCT keywords FROM ticket
(Because each row contains a superfluous horizontal line with a lot of vertical space.)
Adding a second column seems to avoid this problem:
SELECT DISTINCT keywords, 'unwanted second column' FROM ticket
Attachments (3)
Change History (9)
by , 7 years ago
Attachment: | report-single-column.png added |
---|
by , 7 years ago
Attachment: | report-multi-columns.png added |
---|
comment:1 by , 7 years ago
Keywords: | needinfo added |
---|---|
Milestone: | → undecided |
by , 7 years ago
Attachment: | keywords.png added |
---|
comment:3 by , 7 years ago
Keywords: | needinfo removed |
---|---|
Milestone: | undecided → 1.3.3 |
Version: | → 1.3dev |
Thanks for the feedback. It is caused by duplicated class attribute. We will fix report_view.html.
<td class="keywords" class="fullrow" colspan="100">
comment:4 by , 7 years ago
Owner: | set to |
---|---|
Status: | new → assigned |
Proposed changes in [8aa752607/jomae.git] (jomae.git@t12919).
The changes add jinja2.ext.do
to invoke list.append
and dict.update
in Jinja2 template.
comment:5 by , 7 years ago
Release Notes: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Fixed in [16361].
Are you using what version of Trac with what database?
It seems to be correct.