diff --git a/server/templates/macros.html.j2 b/server/templates/macros.html.j2 index 85fdfc4..5e4684f 100644 --- a/server/templates/macros.html.j2 +++ b/server/templates/macros.html.j2 @@ -72,7 +72,6 @@ {% endif %} {% endfor %} - {% for seat in room.movable_seats_by_attribute[attr] %} {% if seat.id and seat.id == highlight_seat_id %} (YOUR WILL USE A SEAT FROM THIS CATEGORY) @@ -102,20 +101,22 @@ {% if loop.first %}
{{ seat.name }}
{% endif %} - {% if staff and seat.assignment and not remove_link %} - - {% endif %} - {% if seat.id and seat.id == highlight_seat_id %} + {% if seat.id and seat.id == highlight_seat_id %} {% set class = 's seat highlight' %} {% elif staff and seat.assignment %} {% set class = 's seat occupied' %} {% else %} {% set class = 's seat' %} {% endif %} -
- {% if staff and seat.assignment and not remove_link %} -
- {% endif %} + {% if staff and seat.assignment and not remove_link %} + + {% elif staff %} + + {% endif %} +
+ {% if staff %} +
+ {% endif %}
{{ seat.name }} {% if show_attributes %} @@ -128,7 +129,7 @@
photo for: {{ seat.assignment.student.name }}
{{ seat.assignment.student.sid }} - {% endif %} + {% endif %} -m
{% if loop.last %}
{{ seat.name }}
@@ -138,6 +139,9 @@
Back
+ {% if staff %} +
Click on any assigned seat (blue) to view student details. Clicking on an unoccupied seat will lead you to a shareable link for that seat.
+ {% endif %} {% endif %} {% endif %}