mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Bootstrapify the table
This commit is contained in:
parent
2c1a744c2d
commit
4746a3ccff
@ -44,7 +44,7 @@ class InvenTreeSetting(models.Model):
|
|||||||
key: settings key
|
key: settings key
|
||||||
value: New value
|
value: New value
|
||||||
user: User object (must be staff member to update a core setting)
|
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:
|
if not user.is_staff:
|
||||||
|
@ -27,4 +27,11 @@
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block js_ready %}
|
||||||
|
{{ block.super }}
|
||||||
|
|
||||||
|
$("#other-table").bootstrapTable();
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
Loading…
Reference in New Issue
Block a user