Skip to content

Commit

Permalink
Merge pull request #3531 from uktrade/develop
Browse files Browse the repository at this point in the history
Release PR
  • Loading branch information
davidu1975 authored Oct 17, 2024
2 parents ad74597 + 0e9700c commit f6acc89
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
13 changes: 13 additions & 0 deletions config/helpers.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import os


def is_local():
return os.getenv('APP_ENVIRONMENT') is None


def is_circleci():
return 'IS_CIRCLECI' in os.environ


def get_env_files():
return ['config/env/' + filename for filename in os.getenv('ENV_FILES', '').split(',')]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

{% if back_step == 3 %}
{% if back_step == '3' %}
<a href="{% url 'core:guided-journey-step-3' %}" class="govuk-link great-ds-skip-control"><span>Cancel changes</span></a>
{% elif back_step == 4 %}
{% elif back_step == '4' %}
<a href="{% url 'core:guided-journey-step-4' %}" class="govuk-link great-ds-skip-control"><span>Cancel changes</span></a>
{% else %}
<a href="{{ url }}" class="govuk-link great-ds-skip-control"><span>Cancel changes</span></a>
Expand Down

0 comments on commit f6acc89

Please sign in to comment.