mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-15 06:39:33 +00:00
Added a log entry detail page for collection element deleted log entries.
This commit is contained in:
parent
434826c125
commit
8bb8257e62
4 changed files with 41 additions and 9 deletions
|
|
@ -0,0 +1,15 @@
|
|||
{# @var entry \App\Entity\LogSystem\CollectionElementDeleted #}
|
||||
|
||||
{% import "log_system/details/helper.macro.html.twig" as log_helper %}
|
||||
|
||||
<p class="m-0">
|
||||
<b>{% trans %}log.collection_deleted.deleted{% endtrans %}</b>:
|
||||
{{ entity_type_label(entry.deletedElementClass) }} #{{ entry.deletedElementID }}
|
||||
{% if entry.oldName is not empty %}
|
||||
({{ entry.oldName }})
|
||||
{% endif %}
|
||||
</p>
|
||||
<p class="m-0">
|
||||
<b>{% trans %}log.collection_deleted.on_collection{% endtrans %}</b>:
|
||||
{{ log_helper.translate_field(entry.collectionName) }}
|
||||
</p>
|
||||
Loading…
Add table
Add a link
Reference in a new issue