mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Auto-show the active build table
This commit is contained in:
parent
c10ddab30c
commit
7e81d9021f
@ -30,6 +30,9 @@
|
||||
|
||||
{% block js_ready %}
|
||||
{{ block.super }}
|
||||
|
||||
$("#collapse-item-active").collapse().show();
|
||||
|
||||
$("#new-build").click(function() {
|
||||
launchModalForm(
|
||||
"{% url 'build-create' %}",
|
||||
@ -61,22 +64,10 @@
|
||||
{
|
||||
title: 'Status',
|
||||
sortable: true,
|
||||
}
|
||||
{
|
||||
title: 'Created',
|
||||
sortable: true,
|
||||
},
|
||||
{
|
||||
title: 'Completed',
|
||||
sortable: true,
|
||||
formatter: function(value, row, index, field) {
|
||||
if (value) {
|
||||
return 'hello';
|
||||
} else {
|
||||
return "---";
|
||||
}
|
||||
},
|
||||
}
|
||||
},
|
||||
]
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user