Edgewall Software
Modify

Opened 19 years ago

Closed 18 years ago

#2306 closed enhancement (duplicate)

Patch for Smarter Checkboxes

Reported by: colin@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: ticket system Version: 0.9
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal 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 (1)

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

Download all attachments as: .zip

Change History (6)

by colin@…, 19 years ago

Attachment: smarter_checkboxes.diff added

aforementioned patch

comment:1 by colin@…, 19 years ago

Component: generalticket system

forgot to set the component.

comment:2 by Christian Boos, 19 years ago

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 by colin@…, 19 years ago

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 by sid, 18 years ago

See also #924.

comment:5 by Christian Boos, 18 years ago

Resolution: duplicate
Status: newclosed

Right, I think it's the same issue.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.