summaryrefslogtreecommitdiffstats
path: root/modules-available/exams
diff options
context:
space:
mode:
authorSimon Rettberg2017-04-28 10:09:32 +0200
committerSimon Rettberg2017-04-28 10:09:32 +0200
commit14c9189e275548f925b40134156ec13dfbfce99f (patch)
treefd221d17e30e9069bdd1092bcb98ef0ea60d25b8 /modules-available/exams
parent[exams] Add ORDER BY to queries generating UI content, change wording (diff)
downloadslx-admin-14c9189e275548f925b40134156ec13dfbfce99f.tar.gz
slx-admin-14c9189e275548f925b40134156ec13dfbfce99f.tar.xz
slx-admin-14c9189e275548f925b40134156ec13dfbfce99f.zip
[exams] Clarify duration display in upcoming exam list
Refs #3123
Diffstat (limited to 'modules-available/exams')
-rw-r--r--modules-available/exams/lang/de/template-tags.json1
-rw-r--r--modules-available/exams/lang/en/template-tags.json1
-rw-r--r--modules-available/exams/templates/page-upcoming-lectures.html5
3 files changed, 6 insertions, 1 deletions
diff --git a/modules-available/exams/lang/de/template-tags.json b/modules-available/exams/lang/de/template-tags.json
index b98f8525..79d8edea 100644
--- a/modules-available/exams/lang/de/template-tags.json
+++ b/modules-available/exams/lang/de/template-tags.json
@@ -29,6 +29,7 @@
"lang_location": "Raum\/Ort",
"lang_locationInfo": "W\u00e4hlen Sie hier die R\u00e4ume und Orte aus, die w\u00e4hrend des unten ausgew\u00e4hlten Zeitraums in den Pr\u00fcfungsmodus versetzt werden. Wenn sie hier keine Auswahl treffen, werden alle R\u00e4ume in den Pr\u00fcfungsmodus versetzt.",
"lang_locations": "R\u00e4ume\/Orte",
+ "lang_moreThanOneDay": "Mehr als ein Tag",
"lang_noDescription": "Keine Beschreibung",
"lang_none": "(Keine)",
"lang_timeFrame": "Zeitraum"
diff --git a/modules-available/exams/lang/en/template-tags.json b/modules-available/exams/lang/en/template-tags.json
index eee74793..1da4a40a 100644
--- a/modules-available/exams/lang/en/template-tags.json
+++ b/modules-available/exams/lang/en/template-tags.json
@@ -29,6 +29,7 @@
"lang_location": "Room\/Location",
"lang_locationInfo": "Select the rooms and locations you want to enable the exam mode in. Selecting nothing at all means that all clients will boot into exam mode during the given time period.",
"lang_locations": "Rooms\/Locations",
+ "lang_moreThanOneDay": "More than one day",
"lang_noDescription": "No description",
"lang_none": "(None)",
"lang_timeFrame": "Time frame"
diff --git a/modules-available/exams/templates/page-upcoming-lectures.html b/modules-available/exams/templates/page-upcoming-lectures.html
index a1867444..323b1017 100644
--- a/modules-available/exams/templates/page-upcoming-lectures.html
+++ b/modules-available/exams/templates/page-upcoming-lectures.html
@@ -17,7 +17,10 @@
</td>
<td width="30%" class="text-nowrap">
{{starttime_s}} &ensp; {{endtime_s}}
- <div class="small">{{duration_s}}</div>
+ <div class="small">
+ {{lang_duration}}: {{duration_s}}
+ {{^duration_s}}{{lang_moreThanOneDay}}{{/duration_s}}
+ </div>
</td>
<td width="20%">
<div class="pull-right text-nowrap">