Modify ↓
Ticket #2306 (closed enhancement: duplicate)
Opened 7 years ago
Last modified 5 years ago
Patch for Smarter Checkboxes
| Reported by: | colin@… | Owned by: | jonas |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | ticket system | Version: | 0.9 |
| Severity: | normal | Keywords: | |
| Cc: | |||
| Release Notes: | |||
| API Changes: | |||
Description
Currently, checkbox fields display themselves elsewhere (ticket summaries, ticket changelogs) as either 1 or 0. The attached patch modifies this behavior, to instead display Yes or No.
Attachments
Change History
Changed 7 years ago by colin@…
- Attachment smarter_checkboxes.diff added
comment:1 Changed 7 years ago by colin@…
- Component changed from general to ticket system
forgot to set the component.
comment:2 Changed 7 years ago by cboos
Should we make this configurable, e.g.
- checkbox: A boolean value check box.
- label: Descriptive label.
- value: Default value (yes or no, defaults to no).
- order: Sort order placement.
- yes: Value to use when the checkbox is checked (defaults to Yes)
- no: Value to use when the checkbox is not checked (defaults to No)
comment:3 Changed 7 years ago by colin@…
That wouldn't be a bad idea. I'm setting up a trac testbed to play with this further. Also, there may be problems with the diff I posted, so be careful.
comment:4 Changed 5 years ago by sid
See also #924.
comment:5 Changed 5 years ago by cboos
- Resolution set to duplicate
- Status changed from new to closed
Right, I think it's the same issue.
Note: See
TracTickets for help on using
tickets.



aforementioned patch