Skip to content

Commit

Permalink
Fix plugins log entries filtering (#17744)
Browse files Browse the repository at this point in the history
* Fix for issue #17743 in logs.html.twig

* Update templates/components/logs.html.twig

---------

Co-authored-by: Cédric Anne <[email protected]>
  • Loading branch information
DGRILLON-MGS and cedric-anne authored Sep 2, 2024
1 parent 4256ad5 commit d977f9b
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions templates/components/logs.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,15 @@
<tr><td colspan="6">{{ __('No historical matching your filters') }}</td></tr>
{% else %}
{% for entry in logs %}
<tr>
<td>{{ entry['id'] }}</td>
<td>{{ entry['date_mod'] }}</td>
<td>{{ entry['user_name']|verbatim_value }}</td>
<td>{{ entry['field']|verbatim_value }}</td>
<td colspan="2" style="width: 60%">{{ entry['change']|raw }}</td>
</tr>
{% if entry['display_history'] %}
<tr>
<td>{{ entry['id'] }}</td>
<td>{{ entry['date_mod'] }}</td>
<td>{{ entry['user_name']|verbatim_value }}</td>
<td>{{ entry['field']|verbatim_value }}</td>
<td colspan="2" style="width: 60%">{{ entry['change']|raw }}</td>
</tr>
{% endif %}
{% endfor %}
{% endif %}
</tbody>
Expand Down

0 comments on commit d977f9b

Please sign in to comment.