mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-08 03:11:22 +00:00
Add debug mode and database backend as info to the "stats" dialog
This commit is contained in:
1 parent
a1fa3315b1
commit
f76bc5a7b8
2 files changed
+37
No files matched your search
@@ -13,6 +13,19 @@
|
||||
<td>{% trans "Instance Name" %}</td>
|
||||
<td>{% inventree_instance_name %}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class='fas fa-database'></span></td>
|
||||
<td>{% trans "Database" %}</td>
|
||||
<td>{% inventree_db_engine %}</td>
|
||||
</tr>
|
||||
{% inventree_in_debug_mode as debug_mode %}
|
||||
{% if debug_mode %}
|
||||
<tr>
|
||||
<td><span class='fas fa-laptop-code'></span></td>
|
||||
<td>{% trans "Debug Mode" %}</td>
|
||||
<td>{% trans "Server is running in debug mode" %}</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% if user.is_staff %}
|
||||
<tr>
|
||||
<td><span class='fas fa-server'></span></td>
|
||||
|
||||
Reference in new issue
Block a user