Edgewall Software

Changes between Version 1 and Version 5 of Ticket #12879


Ignore:
Timestamp:
Aug 25, 2017, 7:42:40 AM (7 years ago)
Author:
Ryan J Ollos
Comment:

Current behavior is:

  • The fields reporter, owner and cc, and list types are rendered with emphasis on the old and new values.
  • For most other fields the values are wrapped in a span with a class: trac-field-old, trac-field-new, trac-field-deleted. The styling of 'new' is bold, 'deleted' is strike-through.

I think there is more to be done to make the property change rendering more consistent for the various fields and types. For now, I'd like to propose:

  • Refactoring that moves all the rendering to _render_property_diff. Previously this was split across the ticket_change.html, _render_property_changes and _render_property_diff.
  • Removing the emphasis and using authorinfo as the element renderer for reporter, owner and CC entries.

Proposed changes in log:rjollos.git:t12879_author_in_ticket_change_properties.1.

Legend:

Unmodified
Added
Removed
Modified