2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-20 05:46:34 +00:00

Refactor "Currency settings" view

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

View File

@ -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 %}

View File

@ -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" %}