improve group page layout

- move 'Add list' button down to the group lists
- move member search box underneath members heading
- note about members being able to create lists is now under lists heading
This commit is contained in:
Hugh Rundle
2022-01-03 10:09:52 +11:00
parent 38bd1f46d6
commit ea08b302c9
5 changed files with 53 additions and 50 deletions

View File

@ -12,12 +12,6 @@
{% include 'groups/created_text.html' with group=group %}
</p>
</div>
{% if group|is_member:request.user %}
<div class="column is-narrow is-flex">
{% trans "Create List" as button_text %}
{% include 'snippets/toggle/open_button.html' with controls_text="create_list" icon_with_text="plus" text=button_text focus="create_list_header" %}
</div>
{% endif %}
{% if request.user == group.user %}
<div class="column is-narrow is-flex">
{% trans "Edit group" as button_text %}
@ -30,12 +24,6 @@
{% include 'snippets/trimmed_text.html' with full=group.description %}
</div>
{% if request.user.is_authenticated %}
<div class="block">
{% include 'lists/create_form.html' with controls_text="create_list" curation_group=group %}
</div>
{% endif %}
<div class="block">
{% include 'groups/edit_form.html' with controls_text="edit_group" %}
</div>