Edgewall Software
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

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will be changed from (none). Next status will be 'new'
The owner will be changed from (none) to anonymous. Next status will be 'assigned'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.