Skip to content

Commit

Permalink
change footer urls to show file name
Browse files Browse the repository at this point in the history
  • Loading branch information
odalys-dataport committed Oct 2, 2023
1 parent 6168b3d commit 891932b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion config/documents.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ const { DOCUMENT_BASE_DIR, SC_THEME } = require('./global');
const specificFiles = {
accessibilityStatement: 'Willkommensordner/Barrierefreiheit/Barrierefreiheitserklaerung.pdf',
privacyExemplary: 'Onlineeinwilligung/Datenschutzerklaerung-Muster-Schulen-Onlineeinwilligung.pdf',
privacy: 'Onlineeinwilligung/Datenschutzerklaerung-Onlineeinwilligung.pdf',
privacy: SC_THEME === 'thr'
? 'Onlineeinwilligung/Datenschutzhinweise.pdf'
: 'Onlineeinwilligung/Datenschutzerklaerung-Onlineeinwilligung.pdf',
termsOfUseExemplary: 'Onlineeinwilligung/Nutzungsordnung-HPI-Schule-Schueler-Onlineeinwilligung.pdf',
termsOfUse: 'Onlineeinwilligung/Nutzungsordnung-Onlineeinwilligung.pdf',
termsOfUseSchool: SC_THEME === 'thr'
Expand Down
4 changes: 2 additions & 2 deletions theme/thr/views/lib/extended_footer.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
<h2 class="h4">{{$t "lib.extended_footer.headline.links"}}</h2>
<ul>
<li><a href="/imprint" aria-label="{{$t "global.link.imprint"}}">{{$t "global.link.imprint" }}</a></li>
<li><a href="/termsofuse" target="_blank"
<li><a href="{{theme.documents.specificFiles.termsOfUseSchool}}" target="_blank"
rel="noopener" aria-label="{{$t "login.headline.onlyTermsOfUse"}} Thüringer Schulcloud PDF {{$t "global.link.openInNewTabWarning"}}">{{$t "login.headline.onlyTermsOfUse"}} Thüringer Schulcloud</a>
</li>
<li><a href="/privacypolicy" target="_blank"
<li><a href="{{theme.documents.specificFiles.privacy}}" target="_blank"
rel="noopener" aria-label="{{$t "global.text.dataProtectionThr"}} Thüringer Schulcloud PDF {{$t "global.link.openInNewTabWarning"}}">{{$t "global.text.dataProtectionThr"}} Thüringer Schulcloud</a>
</li>
<li><a href="/about">Über die Thüringer Schulcloud</a></li>
Expand Down
4 changes: 2 additions & 2 deletions theme/thr/views/lib/footer.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
<span> - </span>
</li>
<li>
<a href="/termsofuse" target="_blank" aria-label="{{$t "login.headline.onlyTermsOfUse"}} Thüringer Schulcloud PDF {{$t "global.openInNewTabWarning"}}" rel="noopener">{{$t "login.headline.onlyTermsOfUse"}}</a>
<a href="{{theme.documents.specificFiles.termsOfUseSchool}}" target="_blank" aria-label="{{$t "login.headline.onlyTermsOfUse"}} Thüringer Schulcloud PDF {{$t "global.openInNewTabWarning"}}" rel="noopener">{{$t "login.headline.onlyTermsOfUse"}}</a>
<span> - </span>
</li>
<li>
<a href="/privacypolicy" target="_blank" aria-label="{{$t "global.text.dataProtectionThr"}} Thüringer Schulcloud PDF {{$t "global.openInNewTabWarning"}}" rel="noopener">{{$t "global.text.dataProtectionThr"}}</a>
<a href="{{theme.documents.specificFiles.privacy}}" target="_blank" aria-label="{{$t "global.text.dataProtectionThr"}} Thüringer Schulcloud PDF {{$t "global.openInNewTabWarning"}}" rel="noopener">{{$t "global.text.dataProtectionThr"}}</a>
<span> - </span>
</li>
<li>
Expand Down

0 comments on commit 891932b

Please sign in to comment.