<pclass="notice"style="background:#0881c0"><b>Note! </b> Only people with the same room type can be roommates. If you need help, contact the <ahref="https://furizon.net/contact/">Furizon's Staff</a>.</p>
{# {% if room_members and quota.get_left(len(room_members)) == 0 and (not order.room_confirmed) %} #}
{# <pclass="notice">⚠️ Your room contains {{len(room_members)}} people inside, but sadly there are no more {{[None,'single','double','triple','quadruple','quintuple'][len(room_members)]}} rooms. You need to add or remove people until you reach the size of an available room if you want to confirm it.</p> #}
{# <pclass="notice"style="background:#060">✅ Your <strong>{{[None,'single','double','triple','quadruple','quintuple'][len(room_members)]}}</strong> room has been confirmed</p> #}
<pclass="notice"style="background:#060">✅ Your <strong>{{[None,'single','double','triple','quadruple','quintuple'][order.room_person_no]}}</strong> room has been confirmed</p>
{% if order.room_owner and person.code != order.code and (not order.room_confirmed) and (time() <= ROOM_DEADLINE or isSessionAdmin) %}<ahref="/manage/room/kick/{{person.code}}">KICK</a>{% endif %}
<arole="button"href="/manage/room/create"{{'disabled'iftime()> ROOM_DEADLINE and not isSessionAdmin else ''}}>Create a room</a>
<arole="button"href="javascript:document.getElementById('modal-joinroom').setAttribute('open', 'true');"{{'disabled'iftime()> ROOM_DEADLINE and not isSessionAdmin else ''}}>Join a room</a>
{% if order.room_owner and not order.room_confirmed %}
{% if room.forbidden %}
<pclass="notice">⚠️ There are roommates for which a payment was not received yet, you will be able to confirm this room only once all payments are completed.</p>
{# <arole="button"{{'disabled'iftime()> ROOM_DEADLINE and not isSessionAdmin else ''}} {% if not room.forbidden and quota.get_left(len(room_members)) > 0 %}href="javascript:document.getElementById('modal-roomconfirm').setAttribute('open', 'true');"{% endif %}>Confirm <strong>{{[None,'single','double','triple','quadruple','quintuple'][len(room_members)]}}</strong> room</a> #}
<tdstyle="width:1%;white-space: nowrap;"><arole="button"href="/manage/room/approve/{{person.code}}"{{'disabled'iftime()> ROOM_DEADLINE and not isSessionAdmin else ''}}>Approve</a></td>
<tdstyle="width:1%;white-space: nowrap;"><arole="button"href="/manage/room/reject/{{person.code}}"{{'disabled'iftime()> ROOM_DEADLINE and not isSessionAdmin else ''}}>Reject</a></td>