Edgewall Software
Modify

Opened 16 years ago

Closed 16 years ago

#1546 closed defect (fixed)

Show resolution in ticket header when it is defined

Reported by: pkou at ua.fm Owned by: Christopher Lenz
Priority: normal Milestone: 0.9
Component: ticket system Version: 0.8
Severity: trivial Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

When ticket header is rendered, then resolution is specified for closed tickets only.

Taking into account multiple statuses that can exist, the resolution should be displayed when it is defined regardless of current ticket status.

Patch for trunk:

Index: ticket.cs
===================================================================
--- ticket.cs	(revision 1667)
+++ ticket.cs	(working copy)
@@ -29,7 +29,7 @@
 <div id="content" class="ticket">
 
  <h1>Ticket #<?cs var:ticket.id ?> <?cs
- if:ticket.status == 'closed' ?>(Closed: <?cs var:ticket.resolution ?>)<?cs
+ if:ticket.resolution ?>(<?cs var:ticket.status ?>: <?cs var:ticket.resolution ?>)<?cs
  elif:ticket.status != 'new' ?>(<?cs var:ticket.status ?>)<?cs
  /if ?></h1>

Also, it makes consistent status displaying (always in lower case).

(In preparation to #869)

Attachments (0)

Change History (2)

comment:1 by Christopher Lenz, 16 years ago

Owner: changed from Jonas Borgström to Christopher Lenz
Status: newassigned

Looks good.

comment:2 by Christopher Lenz, 16 years ago

Resolution: fixed
Status: assignedclosed

Patch applied in [1674].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christopher Lenz.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christopher Lenz 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.