mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-29 11:23:16 +01:00
Ticket status now shows that there are open dependencies.
This commit is contained in:
parent
d7a769fa1d
commit
9b593472f7
@ -389,7 +389,9 @@ class Ticket(models.Model):
|
|||||||
"""
|
"""
|
||||||
held_msg = ''
|
held_msg = ''
|
||||||
if self.on_hold: held_msg = _(' - On Hold')
|
if self.on_hold: held_msg = _(' - On Hold')
|
||||||
return u'%s%s' % (self.get_status_display(), held_msg)
|
dep_msg = ''
|
||||||
|
if self.can_be_resolved == False: dep_msg = _(' - Open dependencies')
|
||||||
|
return u'%s%s%s' % (self.get_status_display(), held_msg, dep_msg)
|
||||||
get_status = property(_get_status)
|
get_status = property(_get_status)
|
||||||
|
|
||||||
def _get_ticket_url(self):
|
def _get_ticket_url(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user