mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-04 18:25:04 +02:00
Show a table with the old data in log entry details page
This commit is contained in:
parent
4c6ceab8e8
commit
1534f780aa
12 changed files with 435 additions and 84 deletions
|
@ -62,6 +62,12 @@
|
|||
{% set entry = log_entry %}
|
||||
{% if log_entry is instanceof('App\\Entity\\LogSystem\\DatabaseUpdatedLogEntry') %}
|
||||
{% include "log_system/details/_extra_database_updated.html.twig" %}
|
||||
{% elseif log_entry is instanceof('App\\Entity\\LogSystem\\ElementCreatedLogEntry') %}
|
||||
{% include "log_system/details/_extra_element_created.html.twig" %}
|
||||
{% elseif log_entry is instanceof('App\\Entity\\LogSystem\\ElementEditedLogEntry') %}
|
||||
{% include "log_system/details/_extra_element_edited.html.twig" %}
|
||||
{% elseif log_entry is instanceof('App\\Entity\\LogSystem\\ElementDeletedLogEntry') %}
|
||||
{% include "log_system/details/_extra_element_deleted.html.twig" %}
|
||||
{% elseif log_entry is instanceof('App\\Entity\\LogSystem\\UserLoginLogEntry')
|
||||
or log_entry is instanceof('App\\Entity\\LogSystem\\UserLogoutLogEntry') %}
|
||||
{% include "log_system/details/_extra_user_login.html.twig" %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue