From 4746a3ccff96b253f51bac7a64084028320f6737 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sun, 15 Sep 2019 23:11:06 +1000 Subject: [PATCH] Bootstrapify the table --- InvenTree/common/models.py | 2 +- InvenTree/templates/InvenTree/settings/other.html | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/InvenTree/common/models.py b/InvenTree/common/models.py index a5338126d5..0b8795484b 100644 --- a/InvenTree/common/models.py +++ b/InvenTree/common/models.py @@ -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: diff --git a/InvenTree/templates/InvenTree/settings/other.html b/InvenTree/templates/InvenTree/settings/other.html index d793788bb8..2f6207b170 100644 --- a/InvenTree/templates/InvenTree/settings/other.html +++ b/InvenTree/templates/InvenTree/settings/other.html @@ -27,4 +27,11 @@ +{% endblock %} + +{% block js_ready %} +{{ block.super }} + + $("#other-table").bootstrapTable(); + {% endblock %} \ No newline at end of file