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

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

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.