diff --git a/templates/capsule/editors/list_editors.html.twig b/templates/capsule/editors/list_editors.html.twig index de7ba00e0000f6e181ec74c4773fbd4eea8f12b3..4a04b8997e0c998d9bb57eb18d6e6baf8c91c020 100644 --- a/templates/capsule/editors/list_editors.html.twig +++ b/templates/capsule/editors/list_editors.html.twig @@ -46,7 +46,7 @@ {% for editor in editors %} <li class="text-capitalize text-secondary list-unstyled p-1"> {{ editor.getFirstName() }} {{ editor.getLastName() }} - {% if editor is not same as current_user %} + {% if editor is not same as capsule.getCreationAuthor() %} - <a href="/capsule/{{ capsule.getId() }}/editors/{{ editor.getId() }}/remove" class="remove-link"> {{ 'editors.remove.editor.link'|trans }} @@ -58,7 +58,7 @@ <h5> {{ 'editors.pending_editors_title'|trans }} </h5> - <ul class="ps-1"> + <ul class="ps-0"> {% for pending_editor in pending_editors %} <li class="text-secondary list-unstyled p-1"> {{ pending_editor.getEmail() }}