Ticket #3919 (closed enhancement: fixed)

Opened 5 years ago

Last modified 2 years ago

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

Reported by: martin@scharrer-online.de Assigned to: 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

changelog.dl.patch (1.5 kB) - added by martin@scharrer-online.de on 10/16/08 16:38:49.
Patch for changelog.py@4145 to put changelogs in definition list

Change History

10/16/08 16:38:49 changed by martin@scharrer-online.de

  • attachment changelog.dl.patch added.

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

10/16/08 16:42:37 changed by martin@scharrer-online.de

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

12/27/09 05:28:53 changed 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.

01/14/10 08:58:54 changed by rjollos

  • owner changed from athomas to rjollos.

Changing ticket owner since I have adopted the plugin.

01/14/10 09:05:10 changed by rjollos

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

01/25/10 04:50:09 changed by rjollos

  • component changed from ChangeLogPlugin to ChangeLogMacro.

06/12/10 14:11:25 changed by mrelbe

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

03/18/11 01:23:42 changed by rjollos

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in #7242 for 0.12 branch.


Add/Change #3919 ([Patch] Put changelogs in a definition list, like changeset browser does it)




Change Properties
Action