mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Rendering changes
This commit is contained in:
parent
a0ad95ab28
commit
1295390b03
@ -1,7 +1,7 @@
|
||||
{% extends "collapse.html" %}
|
||||
|
||||
{% block collapse_title %}
|
||||
{{ title }}<span class='badge'>{{ builds | length }}</span>
|
||||
<b>{{ title }}</b> - {{ builds | length }}
|
||||
{% endblock %}
|
||||
|
||||
{% block collapse_content %}
|
||||
|
@ -35,7 +35,7 @@ class BuildIndex(ListView):
|
||||
|
||||
context['active'] = self.get_queryset().filter(status__in=[Build.PENDING,])
|
||||
|
||||
context['complete'] = self.get_queryset().filter(status=Build.COMPLETE)
|
||||
context['completed'] = self.get_queryset().filter(status=Build.COMPLETE)
|
||||
context['cancelled'] = self.get_queryset().filter(status=Build.CANCELLED)
|
||||
|
||||
return context
|
||||
|
Loading…
Reference in New Issue
Block a user