Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Commit

Permalink
style(frontend): 🚚 Reorder student list fields
Browse files Browse the repository at this point in the history
Move student ID out of heading tag and place below

Signed-off-by: Matthew Gray <[email protected]>
  • Loading branch information
mmoomocow committed May 18, 2023
1 parent 13dd952 commit a35205d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion students/templates/students/list_students.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
<div class="allStudents">
{% for student in students %}
<article class="student">
<a href="/students/{{ student.id }}"><h2 style="font-family: 'Comfortaa', sans-serif;">{{ student.user.first_name }} {{ student.user.last_name }} ({{ student.id }})</h2></a>
<a href="/students/{{ student.id }}"><h2 style="font-family: 'Comfortaa', sans-serif;">{{ student.user.first_name }} {{ student.user.last_name }}</h2></a>
ID: {{ student.id }}<br>
Email: <a href="mailto:{{ student.user.email }}">{{ student.user.email }}</a>
{% if student.commendations_set.count == "1" %}
<p class="commendationCount">1 commendation</p>
Expand Down

0 comments on commit a35205d

Please sign in to comment.