Skip to content

Commit

Permalink
Merge commit from fork
Browse files Browse the repository at this point in the history
  • Loading branch information
fkropfhamer authored Sep 10, 2024
1 parent de72de9 commit 42ba294
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 42ba294

Please sign in to comment.