Skip to content
Snippets Groups Projects
Commit aa3bdac4 authored by Sebastien's avatar Sebastien
Browse files

Merge branch...

Merge branch 'tuleap-183-user-should-not-be-able-to-remove-the-author-from-editors-list' into 'main'

tuleap-183-user-should-not-be-able-to-remove-the-author-from-editors-list

See merge request !60
parents 75abc02a febc8a4c
Branches
Tags
1 merge request!60tuleap-183-user-should-not-be-able-to-remove-the-author-from-editors-list
Pipeline #828 passed
......@@ -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() }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment