Skip to content

Commit

Permalink
Reverted logic change and removed deliberate error
Browse files Browse the repository at this point in the history
  • Loading branch information
MalcolmVonMoJ committed Sep 10, 2020
1 parent 729e2d4 commit f06ab36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cla_public/django_to_jinja.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def moj_variables():
# get today's date
@app.context_processor
def covid_availability_times():
show_covid_availability_times = datetime.date(year=2020, month=9, day=10) > datetime.date.today()
show_covid_availability_times = datetime.date(year=2020, month=9, day=30) > datetime.date.today()
return {"show_covid_availability_times": show_covid_availability_times}

return app
2 changes: 1 addition & 1 deletion cla_public/templates/privacy.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends "base.html" %}

{% block page_title %}{% _('Privacy Statement') %} - {{ super() }}{% endblock %}
{% block page_title %}{{ _('Privacy Statement') }} - {{ super() }}{% endblock %}

{% block inner_content %}
<h1 class="govuk-heading-xl">{{ _('Terms and conditions and privacy') }}</h1>
Expand Down

0 comments on commit f06ab36

Please sign in to comment.