From 94c95a53eee227bfd09214b277de0cc1b1dc90d3 Mon Sep 17 00:00:00 2001 From: Ed Date: Sun, 18 Dec 2022 18:11:38 +0100 Subject: [PATCH] Fixed kick option appearing on confirmed rooms --- tpl/welcome.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tpl/welcome.html b/tpl/welcome.html index 79504a8..e46d1e6 100644 --- a/tpl/welcome.html +++ b/tpl/welcome.html @@ -67,7 +67,7 @@ {% else %}

PAID

{% endif %} - {% if order.room_owner and person.code != order.code %}KICK{% endif %} + {% if order.room_owner and person.code != order.code and (not order.room_confirmed) %}KICK{% endif %} {% if person.status != 'paid' %}