Auto-show the active build table

This commit is contained in:
Oliver Walters 2019-05-06 08:13:59 +10:00
parent c10ddab30c
commit 7e81d9021f

View File

@ -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 "---";
}
},
}
},
]
});