Modify ↓
Ticket #9227 (new defect)
Opened 5 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: | low | Milestone: | |
| Component: | web frontend | Version: | 0.11-stable |
| Severity: | minor | Keywords: | css, xhtml |
| Cc: |
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
Note: See
TracTickets for help on using
tickets.


