Changes between Version 20 and Version 21 of LastModifiedMacro
- Timestamp:
- Sep 2, 2016, 4:31:01 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
LastModifiedMacro
v20 v21 7 7 This macro shows the last modification date of the specified page, or the page the macro appears in if not specified. An optional argument, {{{delta}}}, can be given to show the time elapsed since the last modification. The output is placed in a {{{<span>}}} with a title that gives the exact modification date and the author of the change. 8 8 9 This plugin retrieves information from the database and adds it to a wiki page. Currently supported keywords: `author`, `version`, `changed_by`, `comment`, `changed_ts`. 9 This plugin retrieves information from the database and adds it to a wiki page. Currently supported keywords: `author`, `version`, `changed_by`, `comment`, `changed_ts`. See below for examples. 10 10 11 11 == Bugs/Feature Requests … … 50 50 51 51 This is a CSS style to apply an underline and a tooltip: 52 {{{ 52 {{{#!css 53 53 span.last-modified 54 54 { … … 59 59 60 60 Building off the above style, the colour of the [wiki:TocMacro] can be matched further. To apply this to all projects, append the below text to file `/usr/share/trac/htdocs/css/wiki.css`: 61 {{{ 61 {{{#!css 62 62 /* Styles for the LastModified wikimacro */ 63 63 span.last-modified