Skip to content
Snippets Groups Projects
Unverified Commit 2c765f8d authored by Alexis BENOIT's avatar Alexis BENOIT Committed by GitHub
Browse files

Merge pull request #79 from noesya/fix/program-table

fixed a11y issue in program table
parents 2929097e ea4fc085
No related branches found
No related tags found
No related merge requests found
......@@ -29,21 +29,21 @@
{{- $diploma := site.GetPage (printf "/diplomas/%s" .) -}}
{{- with $diploma.Params.ects -}}
<tr>
<th>{{ i18n "programs.ects_credits" }}</th>
<th scope="row">{{ i18n "programs.ects_credits" }}</th>
<td>{{ partial "PrepareHTML" . }}</td>
</tr>
{{- end -}}
{{- end -}}
<tr>
<th>{{ i18n "programs.type.initial" }}</th>
<th scope="row">{{ i18n "programs.type.initial" }}</th>
<td>{{ if .Params.initial }}{{ i18n "commons.true" }}{{ else }}{{ i18n "commons.false" }}{{ end }}</td>
</tr>
<tr>
<th>{{ i18n "programs.type.continuing" }}</th>
<th scope="row">{{ i18n "programs.type.continuing" }}</th>
<td>{{ if .Params.continuing }}{{ i18n "commons.true" }}{{ else }}{{ i18n "commons.false" }}{{ end }}</td>
</tr>
<tr>
<th>{{ i18n "programs.type.apprenticeship" }}</th>
<th scope="row">{{ i18n "programs.type.apprenticeship" }}</th>
<td>{{ if .Params.apprenticeship }}{{ i18n "commons.true" }}{{ else }}{{ i18n "commons.false" }}{{ end }}</td>
</tr>
{{- if partial "GetTextFromHTML" .Params.capacity -}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment