Edgewall Software

Changes between Version 1 and Version 2 of Ticket #11474, comment 2


Ignore:
Timestamp:
Jul 25, 2014, 12:32:05 AM (10 years ago)
Author:
Ryan J Ollos

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11474, comment 2

    v1 v2  
    11Part of the changes are a follow-on to #9322 / [9667]. In [browser:/branches/1.0-stable/trac/ticket/default_workflow.py@12083:231-235#L222 render_ticket_action_control], the method [browser:/branches/1.0-stable/trac/web/chrome.py@12468:1106-1111#L1082 Chrome.format_author] is nearly duplicated. After passing `resource` to `Chrome.format_author`, `Chrome.format_author` can be used to replace the `format_user` in `render_ticket_action_control`. Additionally, this will resolve the issue in comment:1, since //anonymous// is translated by `Chrome.format_author`. On the trunk we'll want to replace `format_author` with `Chrome.authorinfo` (#11145 / [12340]).
    2 
    3 With the proposed changes,
    4 
    5 [[Image(workflow3.png,100%)]]
    6 
    7 [[Image(workflow4.png,100%)]]