Edgewall Software

Ticket #2306 (closed enhancement: duplicate)

Opened 3 years ago

Last modified 2 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:

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

smarter_checkboxes.diff (1.2 KB) - added by colin@… 3 years ago.
aforementioned patch

Change History

Changed 3 years ago by colin@…

aforementioned patch

Changed 3 years ago by colin@…

  • component changed from general to ticket system

forgot to set the component.

Changed 3 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)

Changed 3 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.

Changed 2 years ago by sid

See also #924.

Changed 2 years ago by cboos

  • status changed from new to closed
  • resolution set to duplicate

Right, I think it's the same issue.

Add/Change #2306 (Patch for Smarter Checkboxes)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from jonas. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.