mirror of
https://github.com/partitioncloud/partitioncloud-server.git
synced 2025-01-23 17:26:26 +01:00
Remove inappropriate "Quit" button
This commit is contained in:
parent
178a540791
commit
f6690f2013
@ -53,7 +53,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% if not_participant %}
|
{% if not_participant %}
|
||||||
<a href="/albums/{{ album.uuid }}/join">{{ _("Join") }}</a>
|
<a href="/albums/{{ album.uuid }}/join">{{ _("Join") }}</a>
|
||||||
{% elif album.users | length > 1 %}
|
{% elif g.user and not not_participant %}
|
||||||
<a href="/albums/{{ album.uuid }}/quit">{{ _("Quit") }}</a>
|
<a href="/albums/{{ album.uuid }}/quit">{{ _("Quit") }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<a href="#share">{{ _("Share") }}</a>
|
<a href="#share">{{ _("Share") }}</a>
|
||||||
|
@ -45,7 +45,7 @@
|
|||||||
<div class="dropdown-content dp1">
|
<div class="dropdown-content dp1">
|
||||||
{% if not_participant %}
|
{% if not_participant %}
|
||||||
<a href="/groupe/{{ groupe.uuid }}/join">{{ _("Join") }}</a>
|
<a href="/groupe/{{ groupe.uuid }}/join">{{ _("Join") }}</a>
|
||||||
{% elif groupe.users | length > 1 and g.user %}
|
{% elif g.user and not not_participant %}
|
||||||
<a href="/groupe/{{ groupe.uuid }}/quit">{{ _("Quit") }}</a>
|
<a href="/groupe/{{ groupe.uuid }}/quit">{{ _("Quit") }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<a href="#share">{{ _("Share") }}</a>
|
<a href="#share">{{ _("Share") }}</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user