Closed PonteIneptique closed 3 years ago
We estimated this ticket to take 0.5d.
We do not seem to be able to reproduce this bug on either of our local instances, we tried
This seems to be the expected behavior for this link as described by you.
However, we always have at least two buttons on the left-hand side menu, one to rename the list and one to modify its related information, whereas the button to make it public (if it is private) is not in that menu at all, but in the controls
view. Our instances are at the top of the dev branch.
The current behavior present in https://github.com/hipster-philology/pyrrha/blob/dev/app/templates/control_lists/macros.html is the following (content truncated for clarity purpose):
{% if not control_list.can_edit() %}
Propose changes
{% endif %}
{% if control_list.can_edit() and not current_user.is_admin() %}
Make public
{% endif %}
{% if control_list.can_edit() or current_user.is_admin() %}
Rename
{% endif %}
{% if control_list.can_edit() or current_user.is_admin() %}
Edit informations
{% endif %}
Therefore if you can edit, you cannot propose change (thus you don't see the link).
@PonteIneptique I have a hard time to reproduce the "no link at all" case.
When I try to reproduce the issue, I have the following user interface
In that case, I am admin, and it's a public control list. If it's a private control list of which, I, as admin, am not the owner, I have this user interface
In both cases, the link to propose changes is visible and clickable, and the control lists in question are editable. I am on the head of the dev
branch, and haven't implemented any changes.
I think "Propose changes" should be always on. That will "fix" this issue.
Current Behaviour
Expected behaviour
I should see the Propose Change link under other to send a mail to list administrator