Skip to content
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.

Commit

Permalink
SMD-253 add service desk URL to env vars (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbi-hbrown authored Oct 25, 2023
1 parent 2551f3f commit 9525404
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/templates/main/help-links.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

<div>
<h3 class="govuk-heading-s">Service Desk</h3>
<p class="govuk-body"><a href="#" class="govuk-link">Submit a request for help</a> <br>
We aim to respond within 1 to 2 working days</p>
<p class="govuk-body"><a href="{{ config['SERVICE_DESK_URL'] }}" class="govuk-link">Submit a request for help</a>
<br> We aim to respond within 1 to 2 working days</p>
<h3 class="govuk-heading-s">Email</h3>
<p class="govuk-body"><a href="mailto:{{ config['CONTACT_EMAIL'] }}">{{ config['CONTACT_EMAIL'] }}</a> <br>
We aim to respond within 1 to 2 working days
Expand Down
3 changes: 3 additions & 0 deletions config/envs/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ class DefaultConfig(object):
"DEPARTMENT_URL",
"https://www.gov.uk/government/organisations/department-for-levelling-up-housing-and-communities",
)
SERVICE_DESK_URL = os.environ.get(
"SERVICE_DESK_URL", "https://dluhcdigital.atlassian.net/servicedesk/customer/portal/5/group/10/create/172"
)
SERVICE_NAME = os.environ.get("SERVICE_NAME", "Submit monitoring and evaluation data")
SERVICE_PHASE = os.environ.get("SERVICE_PHASE", "BETA")
SERVICE_URL = os.environ.get("SERVICE_URL", "dev-service-url")
Expand Down

0 comments on commit 9525404

Please sign in to comment.