From 66c8a9fc6f5523dfaa4b3ecdf32e94da9b13bc9f Mon Sep 17 00:00:00 2001 From: Roxedus Date: Tue, 16 Feb 2021 11:28:51 +0100 Subject: [PATCH] Rename var --- layouts/partials/sections/education-alt.html | 6 +++--- layouts/partials/sections/education.html | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/layouts/partials/sections/education-alt.html b/layouts/partials/sections/education-alt.html index c83478b..5ba1059 100644 --- a/layouts/partials/sections/education-alt.html +++ b/layouts/partials/sections/education-alt.html @@ -52,18 +52,18 @@
{{ i18n "taken_courses" }}
{{ if .takenCourses.showGrades }} - {{ $dontScale := .takenCourses.dontScale}} + {{ $hideScale := .takenCourses.hideScale }} - {{ if not $dontScale }}{{ end }} + {{ if not $hideScale }}{{ end }} {{ range $index,$course := .takenCourses.courses }} - {{ if not $dontScale }}{{ end }} + {{ if not $hideScale }}{{ end }} {{ end }} diff --git a/layouts/partials/sections/education.html b/layouts/partials/sections/education.html index c214deb..21c195c 100644 --- a/layouts/partials/sections/education.html +++ b/layouts/partials/sections/education.html @@ -52,18 +52,18 @@
{{ i18n "taken_courses"}}
{{ if .takenCourses.showGrades }} - {{ $dontScale := .takenCourses.dontScale}} + {{ $hideScale := .takenCourses.hideScale }}
{{ i18n "course_name" }}{{ i18n "total_credit" }}{{ i18n "total_credit" }}{{ i18n "obtained_credit" }}
{{ $course.name }}{{ $course.outOf }}{{ $course.outOf }}{{ $course.achieved }}
- {{ if not $dontScale }}{{ end }} + {{ if not $hideScale }}{{ end }} {{ range $index,$course := .takenCourses.courses }} - {{ if not $dontScale }}{{ end }} + {{ if not $hideScale }}{{ end }} {{ end }}
{{ i18n "course_name"}}{{ i18n "total_credit"}}{{ i18n "total_credit"}}{{ i18n "obtained_credit"}}
{{ $course.name }}{{ $course.outOf }}{{ $course.outOf }}{{ $course.achieved }}