Modify ↓
Ticket #9227 (new defect)
Opened 22 months ago
Last modified 17 months ago
In the ticket change history list, comment div's are printed even with empty comments.
| Reported by: | eino.saarela.rossi@… | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | next-major-0.1X |
| Component: | web frontend | Version: | 0.11-stable |
| Severity: | trivial | Keywords: | css, xhtml |
| Cc: | |||
| Release Notes: | |||
| API Changes: | |||
Description
The ticket change history list contain following div-tag on each change event even with empty comment.
<div class="comment searchable"> </div>
It is an issue when using different background color or border for the comment fields.
I've fixed this issue like this in the trac/ticket/templates/ticket.html file
76c76
< <div py:if="'comment' in change" class="comment searchable" xml:space="preserve">
---
> <div py:if="change.comment" class="comment searchable" xml:space="preserve">
Attachments
Change History
comment:1 Changed 17 months ago by cboos
- Milestone set to next-major-0.1X
- Priority changed from low to high
- Severity changed from minor to trivial
Note: See
TracTickets for help on using
tickets.



... or even change.get('comment').