stranck-dev #10

Merged
drew merged 14 commits from stranck-dev into drew-dev 2024-01-13 16:02:42 +00:00
2 changed files with 8 additions and 2 deletions
Showing only changes of commit 04e7bd3005 - Show all commits

View File

@ -11,4 +11,10 @@ span.nsc-room-counter {
div.room-actions a>span {
display: none;
}
}
#room a[role=button] {
display: inline-flex;
justify-content: center;
align-items: center;
}

View File

@ -85,9 +85,9 @@
{% endif %}
{# <a role="button" {% 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> #}
<a role="button" {% if not room.forbidden and len(room_members) == order.room_person_no %}href="javascript:document.getElementById('modal-roomconfirm').setAttribute('open', 'true');"{% endif %}>Confirm <strong>{{[None,'single','double','triple','quadruple','quintuple'][order.room_person_no]}}</strong> room</a>
<a role="button" {% if not room.forbidden and len(room_members) == order.room_person_no %}href="javascript:document.getElementById('modal-roomconfirm').setAttribute('open', 'true');"{% endif %}>Confirm {{[None,'single','double','triple','quadruple','quintuple'][order.room_person_no]}} room</a>
<a role="button" href="javascript:document.getElementById('modal-roomrename').setAttribute('open', 'true');">Rename room {{[None,'single','double','triple','quadruple','quintuple'][order.room_person_no]}} room</a>
<a role="button" href="javascript:document.getElementById('modal-roomrename').setAttribute('open', 'true');">Rename room</a>
{% endif %}
{% else %}
{% if order.room_id and not order.room_confirmed %}