Skip to content
Snippets Groups Projects
Commit cff1a9a3 authored by xaralis's avatar xaralis
Browse files

fix(district): only show parts with useful content in geo feature detail

parent 309169ce
No related branches found
No related tags found
2 merge requests!559Release,!557Promote some geo feature collection items
Pipeline #8635 passed
...@@ -48,10 +48,12 @@ ...@@ -48,10 +48,12 @@
{% if page.parts_section_title %}<h2 class="head-alt-base mb-4">{{ page.parts_section_title }}</h2>{% endif %} {% if page.parts_section_title %}<h2 class="head-alt-base mb-4">{{ page.parts_section_title }}</h2>{% endif %}
<div class="space-y-4"> <div class="space-y-4">
{% for part in parts %} {% for part in parts %}
{% if part.title and part.description %}
<div> <div>
{% if part.selfTitle %}<h3 class="head-allcaps-3xs">{{ part.selfTitle }}</h3>{% endif %} <h3 class="head-allcaps-3xs">{{ part.title }}</h3>
{% if part.description %}<div class="content-block"><p>{{ part.description }}</p></div>{% endif %} <div class="content-block"><p>{{ part.description }}</p></div>
</div> </div>
{% endif %}
{% endfor %} {% endfor %}
</div> </div>
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment