@@ -95,6 +95,8 @@ <h2 style="border-top:1px solid lightgray;padding-top:15px;">Filter Submissions<
9595 href ="{% url 'assignments:show' assignment.id %}?period=none "> None</ a >
9696 < a class ="right tin-btn " {% if active_period == "all " %}style ="color:#4fab4f; "{% endif %}
9797 href ="{% url 'assignments:show' assignment.id %}?period=all "> All</ a >
98+ < a class ="right tin-btn " {% if active_period == "teachers " %}style ="color:#4fab4f; "{% endif %}
99+ href ="{% url 'assignments:show' assignment.id %}?period=teachers "> Teachers</ a >
98100  
99101 {% for period in period_set %}
100102 < a class ="right tin-btn " {% if active_period.id == period.id %}style ="color:#4fab4f; "{% endif %}
@@ -130,7 +132,7 @@ <h2 style="border-top:1px solid lightgray;padding-top:15px;">Filter Submissions<
130132 < table id ="submission-list " class ="has-border ">
131133 < tr >
132134 < th style ="min-width:20px; text-align: center; "> #</ th >
133- < th style ="min-width:125px "> Student</ th >
135+ < th style ="min-width:125px "> {% if active_period == "teachers" %}Teacher{% else %} Student{% endif %} </ th >
134136 {% if not active_period.name %}
135137 < th style ="min-width:65px; "> Period</ th >
136138 {% endif %}
@@ -172,7 +174,7 @@ <h2 style="border-top:1px solid lightgray;padding-top:15px;">Filter Submissions<
172174 < table id ="submission-list " class ="has-border ">
173175 < tr >
174176 < th style ="min-width:20px; text-align:center; "> #</ th >
175- < th style ="min-width:125px "> Student</ th >
177+ < th style ="min-width:125px "> {% if active_period == "teachers" %}Teacher{% else %} Student{% endif %} </ th >
176178 {% if not active_period.name %}
177179 < th style ="min-width:65px; "> Period</ th >
178180 {% endif %}
0 commit comments