-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a way for admins to see duplicate (hence redundant) students In prehistoric times, students with the same ID were allowed to be created twice This feature allows admins to see obsolete Student objects
- Loading branch information
1 parent
663206d
commit 83533ae
Showing
3 changed files
with
89 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{% extends 'indexbase.html' %} | ||
|
||
{% block content %} | ||
|
||
<h3>Duplicate Students from {{ start_year }} to {{ end_year }} ({{ students|length }})</h3> | ||
|
||
<table class="centered bordered striped"> | ||
<tr> | ||
<th style="text-align: center">More Details</th> | ||
<th style="text-align: center">Less Details (Should be deleted)</th> | ||
<th style="text-align: center">Name</th> | ||
<th style="text-align: center">ID</th> | ||
</tr> | ||
|
||
{% for student_master,student_inferior in students %} | ||
<tr align="center"> | ||
<td><a href="../main/student/{{student_master.pk}}/change/">{{ student_master.pk }}</a></td> | ||
<td><a href="../main/student/{{student_inferior.pk}}/change/">{{ student_inferior.pk }}</a></td> | ||
<td>{{ student_master.name }}</td> | ||
<td>{{ student_master.bitsId }}</td> | ||
</tr> | ||
{% endfor %} | ||
</table> | ||
|
||
{% endblock %} |