mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Remove User_Adapter
This commit is contained in:
@@ -56,8 +56,8 @@
|
||||
{% endif %}
|
||||
<span class="actor">
|
||||
{% if app['acl'].get(app['authentication'].getUser()).has_right_on_base(record.get_base_id(), 'canreport') %}
|
||||
{% if done['user'] and done['user'].get_id() != app['authentication'].getUser().get_id() %}
|
||||
{% set user_infos = done['user'].get_display_name() %}
|
||||
{% if done['user'] and done['user'].getId() != app['authentication'].getUser().getId() %}
|
||||
{% set user_infos = done['user'].getDisplayName() %}
|
||||
{% trans with {'%user_infos%' : user_infos} %}report:: par %user_infos%{% endtrans %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
Reference in New Issue
Block a user