summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-06-04 15:06:21 +0200
committersijanec <sijanecantonluka@gmail.com>2020-06-04 15:06:21 +0200
commitcb700f0e69588dd5cac218ad5fe50f022e141674 (patch)
tree324b03535cf5f7c3576488605bb82275d5c31ede
parentappareantly some fucking js engineer figured out it'd be a good idea not to have breaks in forEach (diff)
downloadbeziapp-cb700f0e69588dd5cac218ad5fe50f022e141674.tar
beziapp-cb700f0e69588dd5cac218ad5fe50f022e141674.tar.gz
beziapp-cb700f0e69588dd5cac218ad5fe50f022e141674.tar.bz2
beziapp-cb700f0e69588dd5cac218ad5fe50f022e141674.tar.lz
beziapp-cb700f0e69588dd5cac218ad5fe50f022e141674.tar.xz
beziapp-cb700f0e69588dd5cac218ad5fe50f022e141674.tar.zst
beziapp-cb700f0e69588dd5cac218ad5fe50f022e141674.zip
-rw-r--r--assets/js/grades.js2
-rw-r--r--assets/js/lang/bundle.js2
-rw-r--r--assets/pages-src/grades.bvr3
3 files changed, 5 insertions, 2 deletions
diff --git a/assets/js/grades.js b/assets/js/grades.js
index 8e04c2b..91a5587 100644
--- a/assets/js/grades.js
+++ b/assets/js/grades.js
@@ -156,7 +156,7 @@ function displayGrades() {
subject_header_average.className = "collapsible-header-right";
if (subject in zakljucne_grades_by_subject) {
subject_header_average.innerText = zakljucne_grades_by_subject[subject];
- subject_header_average.classList.add = "zakljucna-grade";
+ subject_header_average.classList.add("zakljucna-grade");
} else {
subject_header_average.innerText = grade_average.toString();
}
diff --git a/assets/js/lang/bundle.js b/assets/js/lang/bundle.js
index eeee695..b311bf4 100644
--- a/assets/js/lang/bundle.js
+++ b/assets/js/lang/bundle.js
@@ -172,6 +172,7 @@ var langstrings = {
type: "type",
term: "term",
teacher: "teacher",
+ zakljucneGradess: "grades in red are final grades that appear on your end-of-year certificate and are decided by your teacher. They are not averages like grades in black. Should you have any questions or complaints about them, contact your teacher",
// teachers
name: "name",
schoolSubject: "subject",
@@ -378,6 +379,7 @@ var langstrings = {
type: "tip",
term: "rok",
teacher: "profesor",
+ zakljucneGradess: "zaključne ocene, ki bodo na spričevalu, so označene z rdečo, povprečja ocen pa so v črni barvi. V kolikor imate kakršnekoli pritožbe ali vprašanja glede zaključnih ocen, povprašajte profesorja",
// teachers
name: "ime",
schoolSubject: "predmet",
diff --git a/assets/pages-src/grades.bvr b/assets/pages-src/grades.bvr
index f47d462..5d05c3e 100644
--- a/assets/pages-src/grades.bvr
+++ b/assets/pages-src/grades.bvr
@@ -91,7 +91,8 @@
</span>
</label>
</p>
- <ul class="collapsible" id="grades-collapsible"></ul>
+ <ul class="collapsible" id="grades-collapsible"></ul>
+ <p><x-du>zakljucneGradess</x-du></p>
</div>
</body>