Skip to content

Commit aec4845

Browse files
authored
Add national-park to entity link fields (#351)
1 parent a0a84da commit aec4845

File tree

1 file changed

+1
-1
lines changed
  • application/templates/components/entity-value

1 file changed

+1
-1
lines changed

application/templates/components/entity-value/macro.jinja

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
<code class="app-code-block" tabindex="0">{{ value }}</code>
5555
{%- elif field in ["local-resilience-forum","local-authority-type","ownership-status","planning-permission-type","planning-permission-type","planning-permission-status","green-belt-core","ancient-woodland-status","design-code-category","design-code-status","listed-building-grade","park-and-garden-grade"] %}
5656
<a class ="govuk-link" href="{{ '/prefix/' + field + "/reference/" + value }}">{{ value }}</a>
57-
{%- elif field in ["local-authority-district","local-planning-authority","parish","region"] %}
57+
{%- elif field in ["local-authority-district","local-planning-authority","parish","region", "national-park"] %}
5858
<a class ="govuk-link" href="{{ '/prefix/statistical-geography/reference/' + value }}">{{ value }}</a>
5959
{%- elif field in ["combined-authority","local-authority"] %}
6060
<a class ="govuk-link" href="{{ '/prefix/local-authority/reference/' + value }}">{{ value }}</a>

0 commit comments

Comments
 (0)