From 07d3e189464916738881e07ac6897d57cc515ecc Mon Sep 17 00:00:00 2001 From: Abby Brooks-Ramirez Date: Tue, 17 Mar 2026 23:38:03 -0700 Subject: [PATCH 1/3] call url_for seat id whenever a seat is hovered on --- server/templates/macros.html.j2 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/server/templates/macros.html.j2 b/server/templates/macros.html.j2 index 85fdfc4..f37757e 100644 --- a/server/templates/macros.html.j2 +++ b/server/templates/macros.html.j2 @@ -70,6 +70,9 @@ photo for: {{ seat.assignment.student.name }}
{{ seat.assignment.student.sid }} {% endif %} + {% if staff %} +
Shareable Link + {% endif %} {% endfor %} @@ -129,6 +132,9 @@ photo for: {{ seat.assignment.student.name }}
{{ seat.assignment.student.sid }} {% endif %} + {% if staff %} +
Shareable Link + {% endif %} {% if loop.last %}
{{ seat.name }}
From b79e2e2293dacaf32407ccfb6b7ca539dd3d7b3d Mon Sep 17 00:00:00 2001 From: Abby Brooks-Ramirez Date: Mon, 30 Mar 2026 15:49:17 -0700 Subject: [PATCH 2/3] shareable link now opens in a new tab --- server/templates/macros.html.j2 | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/server/templates/macros.html.j2 b/server/templates/macros.html.j2 index f37757e..584dcfa 100644 --- a/server/templates/macros.html.j2 +++ b/server/templates/macros.html.j2 @@ -70,12 +70,8 @@ photo for: {{ seat.assignment.student.name }}
{{ seat.assignment.student.sid }} {% endif %} - {% if staff %} -
Shareable Link - {% 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) @@ -105,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 %} @@ -132,9 +130,6 @@ photo for: {{ seat.assignment.student.name }}
{{ seat.assignment.student.sid }} {% endif %} - {% if staff %} -
Shareable Link - {% endif %}
{% if loop.last %}
{{ seat.name }}
@@ -144,6 +139,7 @@
Back
+
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 %} From b7412d352d8bff5332200649ab0664ac42429d66 Mon Sep 17 00:00:00 2001 From: Abby Brooks-Ramirez Date: Mon, 30 Mar 2026 16:14:51 -0700 Subject: [PATCH 3/3] directions only visible to staff --- server/templates/macros.html.j2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server/templates/macros.html.j2 b/server/templates/macros.html.j2 index 584dcfa..5e4684f 100644 --- a/server/templates/macros.html.j2 +++ b/server/templates/macros.html.j2 @@ -129,7 +129,7 @@
photo for: {{ seat.assignment.student.name }}
{{ seat.assignment.student.sid }} - {% endif %} + {% endif %} -m {% if loop.last %}
{{ seat.name }}
@@ -139,8 +139,10 @@
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 %} {% endmacro %}