forked from extern/django-helpdesk
* Minor on-hold improvements
This commit is contained in:
parent
379f68ed4b
commit
9c2fd9e87b
@ -163,7 +163,7 @@ class Ticket(models.Model):
|
||||
|
||||
def _get_status(self):
|
||||
held_msg = ''
|
||||
if self.on_hold: held_msg = ' (Held)'
|
||||
if self.on_hold: held_msg = ' - On Hold'
|
||||
return '%s%s' % (self.get_status_display, held_msg)
|
||||
get_status = property(_get_status)
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
{% block helpdesk_body %}
|
||||
|
||||
<table width='100%'>
|
||||
<tr class='row_tablehead'><td colspan='2'>{{ ticket.id }}. {{ ticket.title }} [{{ ticket.get_status_display }}]</td></tr>
|
||||
<tr class='row_tablehead'><td colspan='2'>{{ ticket.id }}. {{ ticket.title }} [{{ ticket.get_status }}]</td></tr>
|
||||
<tr class='row_columnheads'><th colspan='2'>Queue: {{ ticket.queue }}</th></tr>
|
||||
|
||||
<tr class='row_odd'>
|
||||
|
Loading…
Reference in New Issue
Block a user