summaryrefslogtreecommitdiff
path: root/tmpl
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tmpl/student.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/tmpl/student.html b/tmpl/student.html
index 4d82111..0294105 100644
--- a/tmpl/student.html
+++ b/tmpl/student.html
@@ -114,7 +114,7 @@
</div>
<div class="need-connection">
<div id="alreadyopen" class="reading-width">
- <table id="table-of-courses">
+ <table class="table-of-courses">
<thead>
<tr>
<th scope="col">Tick</th>
@@ -131,6 +131,8 @@
</tr>
</thead>
<tbody>
+ {{- range .Groups }}
+ <tr><th colspan="6">{{ .Name }}</th></tr>
{{- range .Courses }}
<tr class="courseitem" id="course{{.ID}}">
{{ if lt .Selected .Max -}}
@@ -145,6 +147,7 @@
<td>{{.Location}}</td>
</tr>
{{- end }}
+ {{- end }}
</tbody>
<tfoot>
<tr>