summaryrefslogtreecommitdiffstats
path: root/modules-available/exams/templates/page-exams.html
diff options
context:
space:
mode:
authorSimon Rettberg2020-07-20 11:42:39 +0200
committerSimon Rettberg2020-07-20 11:42:39 +0200
commit9141d4027ffb18b43a8962840f0194046b9a014d (patch)
tree547b7c04f5fe934dd71cf1daa2ecdb2f873542b8 /modules-available/exams/templates/page-exams.html
parent[minilinux] (bootentry-hook) Add entry for "latest from branch" (diff)
downloadslx-admin-9141d4027ffb18b43a8962840f0194046b9a014d.tar.gz
slx-admin-9141d4027ffb18b43a8962840f0194046b9a014d.tar.xz
slx-admin-9141d4027ffb18b43a8962840f0194046b9a014d.zip
[exams] Collapse old exams (-90 days)
Diffstat (limited to 'modules-available/exams/templates/page-exams.html')
-rw-r--r--modules-available/exams/templates/page-exams.html12
1 files changed, 11 insertions, 1 deletions
diff --git a/modules-available/exams/templates/page-exams.html b/modules-available/exams/templates/page-exams.html
index 89743c95..085b529a 100644
--- a/modules-available/exams/templates/page-exams.html
+++ b/modules-available/exams/templates/page-exams.html
@@ -18,10 +18,20 @@
</tr>
</thead>
<tbody>
+ {{#decollapse}}
+ <tr class="hidden collapse"></tr><!-- need this right before the slx-decollapse -->
+ <tr class="slx-decollapse">
+ <td colspan="5">
+ <span class="btn-group btn-group-justified">
+ <span class="btn btn-default btn-sm"><span class="glyphicon glyphicon-menu-down"></span></span>
+ </span>
+ </td>
+ </tr>
+ {{/decollapse}}
{{#exams}}
<tr class="{{rowClass}}">
<td>{{examid}}</td>
- <td>
+ <td width="100%">
{{locationnames}}
{{^locationnames}}
<i>{{lang_global}}</i>