Edgewall Software
Modify

Opened 17 years ago

Closed 16 years ago

#6278 closed defect (fixed)

remove unnecessary span tag

Reported by: anonymous Owned by: Matthew Good
Priority: normal Milestone: 0.11
Component: report system Version:
Severity: minor Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Hi,

I would like to make iconized report plugin which replace specified table contents into icon like JIRA.

While I hack my plugin, report and custom query doesn't have span tag but ?CustomTicket macro have it. I show generate HTML:

Report

...
  <td class="type">defect</td>
...

CustomTicket macro

  <td class="type"><span>defect</span></td>

Solution is just add 'py:strip="True"' attribute at query_result.html. See attached patch.

regards,

Takashi Okamoto

Attachments (1)

strip_span.patch (1.3 KB ) - added by okamototk 17 years ago.
patch for removing span tag in CustomQuery macro.

Download all attachments as: .zip

Change History (3)

by okamototk, 17 years ago

Attachment: strip_span.patch added

patch for removing span tag in CustomQuery macro.

comment:1 by anonymous, 17 years ago

Iconized report is here though it's Japanese.

http://tidus.ultimania.org/tmp/pic.png

comment:2 by Christian Boos, 16 years ago

Resolution: fixed
Status: newclosed

Fixed in [6250].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Matthew Good.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Matthew Good to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.