Add progress to req_list
This commit is contained in:
parent
7a153c46e6
commit
5ce94214d5
6 changed files with 29261 additions and 27 deletions
|
@ -245,7 +245,7 @@ class ProcessInstance(SluggedModel):
|
|||
'cancelled': 'warning',
|
||||
}
|
||||
color = status_colors.get(self.status, 'secondary')
|
||||
return '<span class="badge bg-{}">{}</span>'.format(color, self.get_status_display())
|
||||
return '<span class="badge bg-label-{}">{}</span>'.format(color, self.get_status_display())
|
||||
|
||||
def get_priority_display_with_color(self):
|
||||
"""نمایش اولویت با رنگ"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue