From 8ee4f89825de178b301fa909532c7111e1dbb3ec Mon Sep 17 00:00:00 2001
From: Christian Klinger
Date: Wed, 15 Jun 2016 14:37:11 +0200
Subject: Multiple locations per exam.
---
modules-available/exams/templates/page-exams.html | 20 ++------------------
1 file changed, 2 insertions(+), 18 deletions(-)
(limited to 'modules-available/exams/templates/page-exams.html')
diff --git a/modules-available/exams/templates/page-exams.html b/modules-available/exams/templates/page-exams.html
index 8758b408..95c73d34 100644
--- a/modules-available/exams/templates/page-exams.html
+++ b/modules-available/exams/templates/page-exams.html
@@ -12,9 +12,7 @@
{{#exams}}
{{examid}} |
-
- {{locationname}}
- |
+ {{locationnames}} |
{{starttime}} |
{{endtime}} |
@@ -38,11 +36,7 @@
function customOrder(a, b) {
- console.log("a is ");
- console.log(a);
- console.log("b is ");
- console.log(b);
- return 1000;
+ return 1000; // just in order of appeareance
}
document.addEventListener("DOMContentLoaded", function () {
@@ -53,16 +47,6 @@ document.addEventListener("DOMContentLoaded", function () {
console.log(items_plain);
var groups = new vis.DataSet(groups_plain);
var items = new vis.DataSet(items_plain);
- // var groups = new vis.DataSet([
- // { id: 1, content:'RZ -101' },
- // { id: 2, content:'RZ -104' }
- // ]);
- // var items = new vis.DataSet([
- // { id: 1, group: 1, content: 'Bio 1', start: '2016-06-15 10:30', end : '2016-06-15 14:45'},
- // { id: 2, group: 1, content: 'Bio 2', start: '2016-06-15 10:45', end : '2016-06-15 15:00'},
- // { id: 3, group: 2, content: 'Englisch', start: '2016-06-15 16:00', end : '2016-06-15 17:15'},
- // { id: 4, group: 1, content: 'BACKGROUND', start: '2016-06-15-11:00', end: '2016-06-15 18:00', type: 'background'}
- // ]);
var options = {
'start' : '{{{vis_begin}}}',
--
cgit v1.2.3-55-g7522
|