Edgewall Software
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

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

Download all attachments as: .zip

Change History

Changed 7 years ago by colin@…

aforementioned patch

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.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from jonas. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.