diff --git a/layouts/partials/sections/education-alt.html b/layouts/partials/sections/education-alt.html index 7d9597f..5ba1059 100644 --- a/layouts/partials/sections/education-alt.html +++ b/layouts/partials/sections/education-alt.html @@ -51,18 +51,19 @@ {{ if .takenCourses }}
{{ i18n "taken_courses" }}
- {{ if .takenCourses.showGrades }} + {{ if .takenCourses.showGrades }} + {{ $hideScale := .takenCourses.hideScale }} - + {{ if not $hideScale }}{{ end }} {{ range $index,$course := .takenCourses.courses }} - + {{ if not $hideScale }}{{ end }} {{ end }} diff --git a/layouts/partials/sections/education.html b/layouts/partials/sections/education.html index b6b5aee..21c195c 100644 --- a/layouts/partials/sections/education.html +++ b/layouts/partials/sections/education.html @@ -51,18 +51,19 @@ {{ if .takenCourses }}
{{ i18n "taken_courses"}}
- {{ if .takenCourses.showGrades }} + {{ if .takenCourses.showGrades }} + {{ $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 $hideScale }}{{ end }} {{ range $index,$course := .takenCourses.courses }} - + {{ 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 }}