* Added ability for tickets to be placed on hold

This commit is contained in:
Ross Poulton
2008-01-20 23:31:27 +00:00
parent 9c2fd9e87b
commit 041272ce1b
7 changed files with 17 additions and 14 deletions

View File

@ -164,7 +164,7 @@ class Ticket(models.Model):
def _get_status(self):
held_msg = ''
if self.on_hold: held_msg = ' - On Hold'
return '%s%s' % (self.get_status_display, held_msg)
return '%s%s' % (self.get_status_display(), held_msg)
get_status = property(_get_status)
def _get_ticket_url(self):