mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-04 10:14:44 +02:00
Check permissions for time travel and element undo.
This commit is contained in:
parent
254d4e6c69
commit
8a61b465d0
23 changed files with 370 additions and 90 deletions
|
@ -1,3 +1,5 @@
|
|||
<div class="mt-2">
|
||||
{% include "LogSystem/_log_table.html.twig" %}
|
||||
{% if datatable is not null %}
|
||||
{% include "LogSystem/_log_table.html.twig" %}
|
||||
{% endif %}
|
||||
</div>
|
|
@ -72,8 +72,8 @@
|
|||
<span class="badge badge-secondary">{{ part.orderdetails | length }}</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" id="history-tab" data-toggle="tab" href="#history" role="tab">
|
||||
<li class="nav-item {% if datatable is null %}not-allowed{% endif %}">
|
||||
<a class="nav-link {% if datatable is null %}disabled{% endif %}" id="history-tab" data-toggle="tab" href="#history" role="tab">
|
||||
<i class="fas fa-history"></i>
|
||||
{% trans %}vendor.partinfo.history{% endtrans %}
|
||||
</a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue