Opened 16 years ago
Last modified 7 years ago
#6634 closed enhancement
ITicketManipulator.validate_ticket() return values should be able to include markup — at Initial Version
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | 1.0.2 |
Component: | ticket system | Version: | 0.11b1 |
Severity: | normal | Keywords: | |
Cc: | lp-san@…, Ryan J Ollos | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Since the error messages returned from validate_ticket() by implementations of ITicketManipulator are displayed to the user, it would be good if plugins providing that interface could return some form of markup in the error message.
For example, the error message:
You can't make that change because you are not part of the security team.
Might be better rendered as:
You can't make that change because you are not part of the security team
But i can't find a way to do that in 0.11b1.
asked about this on IRC, coderanger suggested:
"it should probably be fixed to allow Markup() and genshi.builder elements"