Edgewall Software

Changes between Version 15 and Version 19 of Ticket #11145


Ignore:
Timestamp:
Jul 23, 2014, 3:00:32 AM (10 years ago)
Author:
Ryan J Ollos
Comment:

Changes from comment:16 committed to trunk in [12991:12992].

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11145 – API Changes

    v15 v19  
    1 The `authorinfo` and `authorinfo_short` methods of the `Chrome` class in `trac.web.chrome` return the author wrapped in a `span` with class `trac-author`.
     1 * The `authorinfo` and `authorinfo_short` methods of the `Chrome` class in `trac.web.chrome` return the author wrapped in a `span` with class `trac-author`.
     2 * Added `author_email` method of the `Chrome` class which returns the author email from the `email_map` dictionary if `author` doesn't already look like an email address.
     3 * `author_email` is passed to templates in the Chrome data dictionary after partial evaluation with the `email_map` as a parameter, resulting in the signature `author_email(author)`.
     4 * The template `author_or_creator.rss` was refactored so that `email_map` doesn't need to be passed as a parameter.