From 67999482694f8ad43819d545bbc7e0d4ce71d867 Mon Sep 17 00:00:00 2001 From: Fredrik Jonsson <frjo@xdeb.org> Date: Tue, 14 Jun 2022 07:38:34 +0200 Subject: [PATCH] Add ORG_URL to context_processors so available in templates. --- hypha/apply/funds/templates/funds/email/confirmation.html | 2 +- hypha/public/utils/context_processors.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hypha/apply/funds/templates/funds/email/confirmation.html b/hypha/apply/funds/templates/funds/email/confirmation.html index 795829bc1..24ab2d9fd 100644 --- a/hypha/apply/funds/templates/funds/email/confirmation.html +++ b/hypha/apply/funds/templates/funds/email/confirmation.html @@ -5,7 +5,7 @@ {% trans "If you have any questions, please submit them here" %}: {{ request.scheme }}://{{ request.get_host }}{{ source.get_absolute_url }}#communications -{% blocktrans %}If you have issues accessing the submission system or general inquiries, please email us at {{ ORG_EMAIL}}.{% endblocktrans %} +{% blocktrans %}If you have issues accessing the submission system or general inquiries, please email us at {{ ORG_EMAIL }}.{% endblocktrans %} {% blocktrans %}For more information about our support options, review process, and selection criteria, please visit our website at {{ ORG_URL }}.{% endblocktrans %} diff --git a/hypha/public/utils/context_processors.py b/hypha/public/utils/context_processors.py index a99ee6e3f..f0c59999c 100644 --- a/hypha/public/utils/context_processors.py +++ b/hypha/public/utils/context_processors.py @@ -15,6 +15,7 @@ def global_vars(request): 'ORG_SHORT_NAME': settings.ORG_SHORT_NAME, 'ORG_EMAIL': settings.ORG_EMAIL, 'ORG_GUIDE_URL': settings.ORG_GUIDE_URL, + 'ORG_URL': settings.ORG_URL, 'MATOMO_URL': settings.MATOMO_URL, 'MATOMO_SITEID': settings.MATOMO_SITEID, 'CURRENCY_SYMBOL': settings.CURRENCY_SYMBOL, -- GitLab