diff --git a/bookwyrm/templates/settings/manage_invite_requests.html b/bookwyrm/templates/settings/manage_invite_requests.html index 03ddd210..f28118bf 100644 --- a/bookwyrm/templates/settings/manage_invite_requests.html +++ b/bookwyrm/templates/settings/manage_invite_requests.html @@ -59,6 +59,8 @@ {% endif %} + {# no invite OR invite not yet used #} + {% if not req.invite.times_used %}
{% csrf_token %} @@ -68,9 +70,16 @@ {% endif %}
+ {% endif %} + {# invite created but not used #} {% if req.invite and not req.invite.times_used %} {# #} + {% elif req.invite %} + {# accepted #} + {% if req.invite.invitees.exists %} + @{{ req.invite.invitees.first.localname }} + {% endif %} {% else %}
{% csrf_token %} @@ -78,7 +87,7 @@ {% if not req.ignored %} {% else %} - + {% endif %}
{% endif %}