Opened 9 years ago

Closed 7 years ago

[Patch] Put changelogs in a definition list, like changeset browser does it

Reported by: Owned by: Martin Scharrer Ryan J Ollos normal ChangeLogMacro normal 0.11

Description

I like to provide the following patch (for trac 0.11) which puts the changelogs in a definition list: <dl><dt>log title</dt><dd>log message</dd> ... <dl> like the changeset browser does it.

This format is much nicer to read, e.g. because the log message is intended.

In order to get full XHTML valid output I'm using wiki_to_oneliner for the changeset header, otherwise it is wrapped in <p></p> tags which are invalid inside <dt></dt>. I also added the needed closing and re-opening p-tags, see Trac:#7724.

Changed 9 years ago by Martin Scharrer

Patch for changelog.py@4145 to put changelogs in definition list

comment:1 Changed 9 years ago by Martin Scharrer

Sorry, I quoted the wrong trac ticket, the correct one is Trac #5467.

comment:2 Changed 8 years ago by anonymous

Summary: Put changelogs in a definition list like changeset browser does it → [Patch] Put changelogs in a definition list, like changeset browser does it

comment:3 Changed 8 years ago by Ryan J Ollos

Owner: changed from Alec Thomas to Ryan J Ollos

Changing ticket owner since I have adopted the plugin.

comment:4 Changed 8 years ago by Ryan J Ollos

It sounds like a nice feature, but I'd like to include it as an option specified with an argument.

comment:5 Changed 8 years ago by Ryan J Ollos

Component: ChangeLogPlugin → ChangeLogMacro

comment:6 Changed 8 years ago by Mikael Relbe

#7242 provides an alternative patch for Trac 0.12, based on the patch provided here.

comment:7 Changed 7 years ago by Ryan J Ollos

Resolution: → fixed new → closed

Fixed in #7242 for 0.12 branch.

Modify Ticket

Change Properties