Skip to content

Commit

Permalink
hide app/reporting round
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelhwilliams committed Feb 28, 2025
1 parent 547c555 commit b347763
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/envs/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ class DefaultConfig(object):
MANAGE_HOST = "manage.levellingup.gov.localhost:3008"
FORM_RUNNER_HOST = "forms.levellingup.gov.localhost:3008"

FUNDING_HOST = getenv("FUNDING_HOST", "funding.communities.gov.localhost:3010")
FUNDING_HOST = getenv("FUNDING_HOST", "funding.twotowers.tech")

STATIC_FOLDER = "static"
TEMPLATES_FOLDER = "templates"
Expand Down
2 changes: 1 addition & 1 deletion config/envs/development.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class DevelopmentConfig(Config):
AUTO_REDIRECT_LOGIN = True
DISABLE_NOTIFICATION_SERVICE = False # Toggle on if you have no notify api key.

SESSION_COOKIE_DOMAIN = getenv("SESSION_COOKIE_DOMAIN", "funding.communities.gov.localhost")
SESSION_COOKIE_DOMAIN = getenv("SESSION_COOKIE_DOMAIN", "funding.twotowers.tech")

# RSA 256 KEYS
if not hasattr(DefaultConfig, "RSA256_PUBLIC_KEY"):
Expand Down
4 changes: 2 additions & 2 deletions proto/form_runner/expressions.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def build_context(
else None
)
if application:
context["application_round"] = application.round
# context["application_round"] = application.round
context["application"] = serialize_collection_data(application.data_collection_instance)

recipient = this_collection.report.recipient if this_collection and this_collection.report else None
Expand All @@ -80,7 +80,7 @@ def build_context(
context["organisation"] = recipient.organisation

if this_collection and this_collection.report:
context["reporting_round"] = this_collection.report.reporting_round
# context["reporting_round"] = this_collection.report.reporting_round
context["reports"] = [
serialize_collection_data(report.data_collection_instance)
for report in this_collection.report.recipient.reports
Expand Down

0 comments on commit b347763

Please sign in to comment.