Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
greg
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
it-bott-integrasjoner
greg
Commits
64682558
Commit
64682558
authored
3 years ago
by
Jonas Braathen
Browse files
Options
Downloads
Patches
Plain Diff
Remove duplicate help/support link setting
parent
d7c1cdc1
No related branches found
No related tags found
No related merge requests found
Pipeline
#111874
passed
3 years ago
Stage: venv update
Stage: tests and linting
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
frontend/src/appConfig.ts
+6
-10
6 additions, 10 deletions
frontend/src/appConfig.ts
frontend/src/routes/components/footer.tsx
+4
-4
4 additions, 4 deletions
frontend/src/routes/components/footer.tsx
with
10 additions
and
14 deletions
frontend/src/appConfig.ts
+
6
−
10
View file @
64682558
...
@@ -28,17 +28,13 @@ export const guestConsentStepEnabled: boolean =
...
@@ -28,17 +28,13 @@ export const guestConsentStepEnabled: boolean =
env
.
REACT_APP_GUEST_CONSENT_STEP_ENABLED
===
'
true
'
env
.
REACT_APP_GUEST_CONSENT_STEP_ENABLED
===
'
true
'
/* Footer content */
/* Footer content */
export
const
appTechnicalSupportLink
:
string
=
export
const
itRulesLink
:
string
=
env
.
REACT_APP_IT_RULES_LINK
as
string
env
.
REACT_APP_SUPPORT_URL
as
string
export
const
responsibleOrganization
:
string
=
env
.
REACT_APP_RESPONSIBLE_ORGANIZATION
as
string
export
const
responsibleOrganizationLink
:
string
=
env
.
REACT_APP_RESPONSIBLE_ORGANIZATION_LINK
as
string
export
const
ITRulesLink
:
string
=
env
.
REACT_APP_IT_RULES_LINK
as
string
export
const
privacyPolicyLink
:
string
=
export
const
privacyPolicyLink
:
string
=
env
.
REACT_APP_PRIVACY_POLICY_LINK
as
string
env
.
REACT_APP_PRIVACY_POLICY_LINK
as
string
export
const
technicalSupportLink
:
string
=
env
.
REACT_APP_SUPPORT_URL
as
string
export
const
helpLink
:
string
=
env
.
REACT_APP_HELP_LINK
as
string
export
const
documentationLink
:
string
=
export
const
documentationLink
:
string
=
env
.
REACT_APP_DOCUMENTATION_LINK
as
string
env
.
REACT_APP_DOCUMENTATION_LINK
as
string
export
const
responsibleOrganization
:
string
=
env
.
REACT_APP_RESPONSIBLE_ORGANIZATION
as
string
export
const
responsibleOrganizationLink
:
string
=
env
.
REACT_APP_RESPONSIBLE_ORGANIZATION_LINK
as
string
This diff is collapsed.
Click to expand it.
frontend/src/routes/components/footer.tsx
+
4
−
4
View file @
64682558
...
@@ -5,9 +5,9 @@ import { Link } from '@mui/material'
...
@@ -5,9 +5,9 @@ import { Link } from '@mui/material'
import
{
import
{
responsibleOrganization
,
responsibleOrganization
,
responsibleOrganizationLink
,
responsibleOrganizationLink
,
IT
RulesLink
,
it
RulesLink
,
privacyPolicyLink
,
privacyPolicyLink
,
help
Link
,
technicalSupport
Link
,
documentationLink
,
documentationLink
,
}
from
'
appConfig
'
}
from
'
appConfig
'
...
@@ -78,7 +78,7 @@ function Footer() {
...
@@ -78,7 +78,7 @@ function Footer() {
<
LinkContainer
>
<
LinkContainer
>
<
LinkSection
>
<
LinkSection
>
<
LinkHeader
>
{
t
(
'
footer:link.terms.header
'
)
}
</
LinkHeader
>
<
LinkHeader
>
{
t
(
'
footer:link.terms.header
'
)
}
</
LinkHeader
>
<
StyledLink
href
=
{
IT
RulesLink
}
>
<
StyledLink
href
=
{
it
RulesLink
}
>
{
t
(
'
footer:link.terms.ITRules
'
)
}
{
t
(
'
footer:link.terms.ITRules
'
)
}
</
StyledLink
>
</
StyledLink
>
<
StyledLink
href
=
{
privacyPolicyLink
}
>
<
StyledLink
href
=
{
privacyPolicyLink
}
>
...
@@ -88,7 +88,7 @@ function Footer() {
...
@@ -88,7 +88,7 @@ function Footer() {
<
LinkSection
>
<
LinkSection
>
<
LinkHeader
>
{
t
(
'
footer:link.help.header
'
)
}
</
LinkHeader
>
<
LinkHeader
>
{
t
(
'
footer:link.help.header
'
)
}
</
LinkHeader
>
<
StyledLink
href
=
{
help
Link
}
>
<
StyledLink
href
=
{
technicalSupport
Link
}
>
{
t
(
'
footer:link.help.contact
'
)
}
{
t
(
'
footer:link.help.contact
'
)
}
</
StyledLink
>
</
StyledLink
>
<
StyledLink
href
=
{
documentationLink
}
>
<
StyledLink
href
=
{
documentationLink
}
>
...
...
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