Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
(cherry picked from commit 42ba294)
  • Loading branch information
fkropfhamer authored and DamienHarper committed Sep 11, 2024
1 parent e253753 commit e7deb37
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/Resources/views/Audit/helpers/helper.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@

{{ ('audit.audit_details.summary.' ~ action)|trans({
'%source_link%': path('dh_auditor_show_entity_history', { 'entity': helper.namespaceToParam(entity), 'id': entry.getObjectId() }),
'%source%': source_subject,
'%source_label%': source_label,
'%target_link%': target_link,
'%target%': target_subject,
'%target_label%': target_label,
'%user%': entry.getUsername() is null ? 'audit.audit_details.summary.unkown_user'|trans(domain='auditor') : entry.getUsername(),
'%source%': source_subject|escape,
'%source_label%': source_label|escape,
'%target_link%': target_link|escape,
'%target%': target_subject|escape,
'%target_label%': target_label|escape,
'%user%': entry.getUsername() is null ? 'audit.audit_details.summary.unkown_user'|trans(domain='auditor') : entry.getUsername()|escape,
'%ip%': entry.getIp() is not empty ? ', IP: ' ~ entry.getIp() : '',
}, domain='auditor')|raw }}
{% endmacro %}
Expand Down

0 comments on commit e7deb37

Please sign in to comment.