mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-02 21:38:48 +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 js_ready %}
|
||||||
{{ block.super }}
|
{{ block.super }}
|
||||||
|
|
||||||
|
$("#collapse-item-active").collapse().show();
|
||||||
|
|
||||||
$("#new-build").click(function() {
|
$("#new-build").click(function() {
|
||||||
launchModalForm(
|
launchModalForm(
|
||||||
"{% url 'build-create' %}",
|
"{% url 'build-create' %}",
|
||||||
@ -61,22 +64,10 @@
|
|||||||
{
|
{
|
||||||
title: 'Status',
|
title: 'Status',
|
||||||
sortable: true,
|
sortable: true,
|
||||||
}
|
|
||||||
{
|
|
||||||
title: 'Created',
|
|
||||||
sortable: true,
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'Completed',
|
|
||||||
sortable: true,
|
sortable: true,
|
||||||
formatter: function(value, row, index, field) {
|
},
|
||||||
if (value) {
|
|
||||||
return 'hello';
|
|
||||||
} else {
|
|
||||||
return "---";
|
|
||||||
}
|
|
||||||
},
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user