Opened 17 years ago
Closed 15 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)
Change History (8)
Changed 17 years ago by
| Attachment: | changelog.dl.patch added | 
|---|
comment:1 Changed 17 years ago by
Sorry, I quoted the wrong trac ticket, the correct one is Trac #5467.
comment:2 Changed 16 years ago by
| 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 16 years ago by
| Owner: | changed from Alec Thomas to Ryan J Ollos | 
|---|
Changing ticket owner since I have adopted the plugin.
comment:4 Changed 16 years ago by
It sounds like a nice feature, but I'd like to include it as an option specified with an argument.
comment:5 Changed 16 years ago by
| Component: | ChangeLogPlugin → ChangeLogMacro | 
|---|
comment:6 Changed 15 years ago by
#7242 provides an alternative patch for Trac 0.12, based on the patch provided here.
comment:7 Changed 15 years ago by
| Resolution: | → fixed | 
|---|---|
| Status: | new → closed | 
Fixed in #7242 for 0.12 branch.




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