Menu

Trac Commit Log


Commit Date  
[r5813] by cboos

Improved rendering of ticket properties (merged from the FieldRefactoring branch).

The rendering of properties is now done in `_prepare_fields` in the controller rather than in the template. That method can therefore be called by `_insert_ticket_data` (for the normal ticket display) and when previewing a new ticket before submission. In the future, that method will delegate the rendering to dedicated field renderer classes and/or property renderer components.

The `_prepare_fields` method implements a few additional rendering enhancements:
- E-mails in the CC: list are obfuscated if needed (implements #5126)
- link to milestones (implements #449)
- "yes/no" for checkbox custom fields instead of the "1/0" values

2007-07-09 15:00:58 Tree
[r5812] by cboos

Improved rendering of ticket property changes (merged from the FieldRefactoring branch).

The rendering of property change is now done in `rendered_changelog_entries` in the controller rather than in the template. That method can therefore be called by `_insert_ticket_data` (for the normal ticket display) and by `_get_history` (displaying ticket version changes). In the future, that method will delegate the rendering to dedicated field renderer classes and/or property renderer components.

The `rendered_changelog_entries` method implements a few additional rendering enhancements:
- improved visualization of changes to the Ticket CC list (added/removed and obfuscation of e-mail addresses if needed) (fixes #5126)
- similar added/removed rendering for changes to the keyword list
- set/unset for checkbox custom fields

2007-07-09 14:37:54 Tree
[r5811] by cboos

Fix `test_to_datetime` unit-test. Thanks to ecarter for noticing this one.

2007-07-09 14:36:37 Tree
[r5810] by cboos

`separated(items, sep)` from `trac.util.presentation` now yields `(item, sep)` pairs instead of `(sep, item)` pairs.

This will make it possible to use it directly in tag builder expressions.

2007-07-09 13:19:49 Tree
[r5809] by nkantrowitz

Add the id and headers attributes to all ticket fields.

2007-07-09 11:14:06 Tree
[r5808] by nkantrowitz

Allow post-request filters to send responses, most notably redirects. (fixes #5363, thanks pacopablo)

2007-07-08 04:13:18 Tree
[r5807] by jruigrok

Synchronise with the pot and update some header fields.

2007-07-05 17:38:55 Tree
[r5806] by jruigrok

Add a first version of the Czech translation.

Submitted by: Radek Bartoň through #5592

2007-07-05 17:13:39 Tree
[r5805] by cmlenz

Fix for #5646.

2007-07-05 13:08:11 Tree
[r5804] by cmlenz

i18n: start using the new advanced i18n support in Genshi trunk in a couple of places.

2007-07-05 11:16:41 Tree
Older >
Auth0 Logo