mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-25 17:33:08 +01:00
Merge pull request #170 from mpietsch/status_dependencies
Ticket status now shows that there are open dependencies.
This commit is contained in:
commit
f63b670893
@ -389,7 +389,9 @@ class Ticket(models.Model):
|
||||
"""
|
||||
held_msg = ''
|
||||
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)
|
||||
|
||||
def _get_ticket_url(self):
|
||||
|
Loading…
Reference in New Issue
Block a user