Browse Source

small fix to filtermenu

current_wdka_release
crunk 3 years ago
parent
commit
00cd4df7d7
  1. 6
      verse/templates/filtermenu.html

6
verse/templates/filtermenu.html

@ -4,7 +4,7 @@
<button id="Academicyear" class="dropbtn">Academic year</button>
<div class="dropdown-content">
{% for year in years %}
<button type="button" name="button" onclick="filterSelection('{{ year[1] }}', 'Academicyear')" >{{ year[1] }}</button>
<button type="button" name="button" onclick="filterSelection('{{ year[0] }}', 'Academicyear')" >{{ year[1] }}</button>
{% endfor %}
</div>
</div>
@ -12,7 +12,7 @@
<button id="Term" class="dropbtn">Term</button>
<div class="dropdown-content">
{% for term in terms %}
<button type="button" name="button" onclick="filterSelection('{{ term[1] }}', 'Term')" >{{ term[1] }}</button>
<button type="button" name="button" onclick="filterSelection('{{ term[0] }}', 'Term')" >{{ term[1] }}</button>
{% endfor %}
</div>
</div>
@ -20,7 +20,7 @@
<button id="Course" class="dropbtn">Course</button>
<div class="dropdown-content">
{% for course in courses %}
<button type="button" name="button" onclick="filterSelection('{{ course[1] }}', 'Course')" >{{ course[1] }}</button>
<button type="button" name="button" onclick="filterSelection('{{ course[0] }}', 'Course')" >{{ course[1] }}</button>
{% endfor %}
</div>
</div>

Loading…
Cancel
Save