Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Gib Geld FSR
Manage
Activity
Members
Labels
Plan
Issues
1
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
10
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FS Info TU Dortmund
Fachschaftsrat
Tools
Gib Geld FSR
Commits
73b01a97
Commit
73b01a97
authored
1 year ago
by
Jonas Zohren
💬
Browse files
Options
Downloads
Patches
Plain Diff
fix: Envs for legal links respected
Accidentially used build time envs, instead of runtime ones.
parent
b4cec585
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/routes/+layout.svelte
+5
-5
5 additions, 5 deletions
src/routes/+layout.svelte
with
5 additions
and
5 deletions
src/routes/+layout.svelte
+
5
−
5
View file @
73b01a97
<script
lang=
"ts"
>
import
'
../app.scss
'
;
import
{
PUBLIC_URL_PRIVACY
,
PUBLIC_URL_IMPRINT
}
from
'
$env/
stat
ic/public
'
;
import
{
env
}
from
'
$env/
dynam
ic/public
'
;
</script>
<header>
...
...
@@ -36,11 +36,11 @@
<!-- svelte-ignore missing-declaration -->
<p>
<a
href=
"#TODO"
target=
"_blank"
rel=
"noopener"
>
Source Code
</a>
{
#if
PUBLIC_URL_PRIVACY
}
|
<a
href=
{
PUBLIC_URL_PRIVACY
}
target=
"_blank"
rel=
"noreferrer noopener"
>
Datenschutz
</a>
{
#if
env
.
PUBLIC_URL_PRIVACY
}
|
<a
href=
{
env
.
PUBLIC_URL_PRIVACY
}
target=
"_blank"
rel=
"noreferrer noopener"
>
Datenschutz
</a>
{
/if
}
{
#if
PUBLIC_URL_IMPRINT
}
|
<a
href=
{
PUBLIC_URL_IMPRINT
}
target=
"_blank"
rel=
"noreferrer noopener"
>
Impressum
</a>
{
#if
env
.
PUBLIC_URL_IMPRINT
}
|
<a
href=
{
env
.
PUBLIC_URL_IMPRINT
}
target=
"_blank"
rel=
"noreferrer noopener"
>
Impressum
</a>
{
/if
}
</p>
<!-- svelte-ignore missing-declaration -->
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment