Modify

Opened 16 years ago

Closed 14 years ago

#3919 closed enhancement (fixed)

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

Reported by: Martin Scharrer Owned by: Ryan J Ollos
Priority: normal Component: ChangeLogMacro
Severity: normal Keywords:
Cc: Trac Release: 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.

Attachments (1)

changelog.dl.patch (1.5 KB) - added by Martin Scharrer 16 years ago.
Patch for changelog.py@4145 to put changelogs in definition list

Download all attachments as: .zip

Change History (8)

Changed 16 years ago by Martin Scharrer

Attachment: changelog.dl.patch added

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

comment:1 Changed 16 years ago by Martin Scharrer

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

comment:2 Changed 15 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 15 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 15 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 15 years ago by Ryan J Ollos

Component: ChangeLogPluginChangeLogMacro

comment:6 Changed 15 years ago by Mikael Relbe

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

comment:7 Changed 14 years ago by Ryan J Ollos

Resolution: fixed
Status: newclosed

Fixed in #7242 for 0.12 branch.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.