Refactor "Currency settings" view

This commit is contained in:
Oliver committed 2021-07-27 00:29:55 +10:00
1 parent de89c3997d
commit ca1c692b15
4 files changed
+20 -40

No files matched your search

@@ -1,16 +1,14 @@
{% extends "InvenTree/settings/settings.html" %}
{% extends "panel.html" %}
{% load i18n %}
{% load inventree_extras %}
{% block tabs %}
{% include "InvenTree/settings/tabs.html" with tab='currencies' %}
{% endblock %}
{% block label %}currencies{% endblock %}
{% block subtitle %}
{% block heading %}
{% trans "Currency Settings" %}
{% endblock %}
{% block settings %}
{% block content %}
<table class='table table-striped table-condensed'>
{% include "InvenTree/settings/header.html" %}
@@ -55,8 +53,4 @@
</tbody>
</table>
{% endblock %}
{% block js_ready %}
{{ block.super }}
{% endblock %}
@@ -20,6 +20,7 @@
{% if user.is_staff %}
{% include "InvenTree/settings/global.html" %}
{% include "InvenTree/settings/currencies.html" %}
{% include "InvenTree/settings/report.html" %}
{% include "InvenTree/settings/part.html" %}
{% include "InvenTree/settings/stock.html" %}