Bootstrapify the table

This commit is contained in:
Oliver Walters 2019-09-15 23:11:06 +10:00
parent 2c1a744c2d
commit 4746a3ccff
2 changed files with 8 additions and 1 deletions

View File

@ -44,7 +44,7 @@ class InvenTreeSetting(models.Model):
key: settings key
value: New value
user: User object (must be staff member to update a core setting)
create: If True, create a new setting if the specified key does not exist
create: If True, create a new setting if the specified key does not exist.
"""
if not user.is_staff:

View File

@ -27,4 +27,11 @@
</tbody>
</table>
{% endblock %}
{% block js_ready %}
{{ block.super }}
$("#other-table").bootstrapTable();
{% endblock %}