Modify

Opened 6 years ago

Closed 4 years ago

#3919 closed enhancement (fixed)

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

Reported by: martin@… Owned by: rjollos
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@… 6 years ago.
Patch for changelog.py@4145 to put changelogs in definition list

Download all attachments as: .zip

Change History (8)

Changed 6 years ago by martin@…

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

comment:1 Changed 6 years ago by martin@…

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

comment:2 Changed 5 years ago by anonymous

  • Summary changed from Put changelogs in a definition list like changeset browser does it to [Patch] Put changelogs in a definition list, like changeset browser does it

comment:3 Changed 5 years ago by rjollos

  • Owner changed from athomas to rjollos

Changing ticket owner since I have adopted the plugin.

comment:4 Changed 5 years ago by rjollos

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

comment:5 Changed 5 years ago by rjollos

  • Component changed from ChangeLogPlugin to ChangeLogMacro

comment:6 Changed 4 years ago by mrelbe

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

comment:7 Changed 4 years ago by rjollos

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in #7242 for 0.12 branch.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.