From cb700f0e69588dd5cac218ad5fe50f022e141674 Mon Sep 17 00:00:00 2001
From: sijanec
Date: Thu, 4 Jun 2020 15:06:21 +0200
Subject: fixed final grade styling
---
assets/js/grades.js | 2 +-
assets/js/lang/bundle.js | 2 ++
assets/pages-src/grades.bvr | 3 ++-
3 files changed, 5 insertions(+), 2 deletions(-)
(limited to 'assets')
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 @@
-
+
+ zakljucneGradess