mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-18 21:15:41 +00:00
Remove unused setting page
This commit is contained in:
@ -1,44 +0,0 @@
|
||||
{% extends "InvenTree/settings/settings.html" %}
|
||||
|
||||
{% load i18n %}
|
||||
|
||||
{% block tabs %}
|
||||
{% include "InvenTree/settings/tabs.html" with tab='other' %}
|
||||
{% endblock %}
|
||||
|
||||
|
||||
{% block subtitle %}
|
||||
{% trans "Other Settings" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block settings %}
|
||||
|
||||
<h4>InvenTree Settings</h4>
|
||||
|
||||
<table class='table table-striped table-condensed' id='other-table'>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Setting</th>
|
||||
<th>Value</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for setting in settings %}
|
||||
<tr>
|
||||
<td>{{ setting.key }}</td>
|
||||
<td>{{ setting.value }}</td>
|
||||
<td>{{ setting.description }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block js_ready %}
|
||||
{{ block.super }}
|
||||
|
||||
$("#other-table").bootstrapTable();
|
||||
|
||||
{% endblock %}
|
@ -29,9 +29,4 @@
|
||||
<li {% if tab == 'so' %} class='active'{% endif %}>
|
||||
<a href="{% url 'settings-so' %}"><span class='fas fa-truck'></span> {% trans "Sales Orders" %}</a>
|
||||
</li>
|
||||
{% if user.is_staff %}
|
||||
<li{% ifequal tab 'other' %} class='active'{% endifequal %}>
|
||||
<a href="{% url 'settings-other' %}"><span class='fas fa-cogs'></span> {% trans "Other" %}</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
Reference in New Issue
Block a user