mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-01 00:35:15 +02:00
Use common settings for all element history tables
This commit is contained in:
parent
f50959837f
commit
38ff9bae4a
8 changed files with 36 additions and 18 deletions
|
@ -1,11 +0,0 @@
|
|||
{% import "components/datatables.macro.html.twig" as datatables %}
|
||||
|
||||
<form method="post" action="{{ path("log_undo") }}"
|
||||
{{ stimulus_controller('elements/delete_btn') }} {{ stimulus_action('elements/delete_btn', "submit", "submit") }}
|
||||
data-delete-title="{% trans %}log.undo.confirm_title{% endtrans %}"
|
||||
data-delete-message="{% trans %}log.undo.confirm_message{% endtrans %}">
|
||||
<input type="hidden" name="redirect_back" value="{{ app.request.uri }}">
|
||||
|
||||
{{ datatables.logDataTable(datatable) }}
|
||||
|
||||
</form>
|
|
@ -51,5 +51,6 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
{% include "LogSystem/_log_table.html.twig" %}
|
||||
{% import "components/history_log_macros.html.twig" as log %}
|
||||
{{ log.system_log_component(datatable) }}
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue