diff --git a/templates/web/prod/actions/Feedback/List-Share.html.twig b/templates/web/prod/actions/Feedback/List-Share.html.twig index 393109bbcb..938cc9e77b 100644 --- a/templates/web/prod/actions/Feedback/List-Share.html.twig +++ b/templates/web/prod/actions/Feedback/List-Share.html.twig @@ -2,22 +2,24 @@ {{ 'You are not authorized to do this' | trans }} {% else %}
-
-

{{ 'About Roles :' | trans }}

-

- - {{ 'Admin can edit shares, modify content' | trans }} -

-

- - {{ 'Editor can modify content' | trans }} -

-

- - {{ 'Access user have readonly access' | trans }} -

+
+ +
-
-
- - +
+ +
@@ -25,14 +27,16 @@ {% for owner in list.getOwners() %} - - - diff --git a/templates/web/prod/actions/Feedback/lists-all.html.twig b/templates/web/prod/actions/Feedback/lists-all.html.twig index 02b52fd0d1..bbbeead968 100644 --- a/templates/web/prod/actions/Feedback/lists-all.html.twig +++ b/templates/web/prod/actions/Feedback/lists-all.html.twig @@ -21,7 +21,7 @@
- + + - {{ owner.getUser().getDisplayName() }} + + + {{ owner.getUser().getDisplayName() }} + - +
+ {% if app.getAuthenticatedUser().getId() == owner.getUser().getId() %} {% if owner.getRole() == constant('Alchemy\\Phrasea\\Model\\Entities\\UsrListOwner::ROLE_ADMIN') %} {{ 'You are Admin' | trans }} @@ -53,9 +57,9 @@ {% endif %}
- {% if app.getAuthenticatedUser().getId() == owner.getUser().getId() %} - - + {% if app.getAuthenticatedUser().getId() != owner.getUser().getId() %} + + × {% endif %}