2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 13:05:42 +00:00

More refactoring:

- Rename "mixins_globalsettings" to "mixing_settings"
- Fix translation on settings page template
This commit is contained in:
Oliver
2022-01-02 11:21:06 +11:00
parent 737467a1fd
commit f3bfe6e7ca
11 changed files with 91 additions and 53 deletions

View File

@ -5,7 +5,7 @@
<h4>{% trans "Settings" %}</h4>
</div>
{% plugin_globalsettings plugin_key as plugin_settings %}
{% plugin_settings plugin_key as plugin_settings %}
<table class='table table-striped table-condensed'>
<tbody>

View File

@ -13,7 +13,7 @@
<span class='fas {{ icon }}'></span>
{% endif %}
</td>
<td><strong>{% trans setting.name %}</strong></td>
<td><strong>{{ setting.name }}</strong></td>
<td>
{% if setting.is_bool %}
<div class='form-check form-switch'>
@ -32,7 +32,7 @@
</div>
{% endif %}
<td>
{% trans setting.description %}
{{ setting.description }}
</td>
<td>
<div class='btn-group float-right'>