Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Maják
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TO
Maják
Commits
cff1a9a3
Commit
cff1a9a3
authored
3 years ago
by
xaralis
Browse files
Options
Downloads
Patches
Plain Diff
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
!559
Release
,
!557
Promote some geo feature collection items
Pipeline
#8635
passed
2 years ago
Stage: build
Changes
1
Pipelines
3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
district/templates/district/district_geo_feature_detail_page.html
+4
-2
4 additions, 2 deletions
.../templates/district/district_geo_feature_detail_page.html
with
4 additions
and
2 deletions
district/templates/district/district_geo_feature_detail_page.html
+
4
−
2
View file @
cff1a9a3
...
@@ -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.
selfT
itle }}
</h3>
{% endif %}
<h3
class=
"head-allcaps-3xs"
>
{{ part.
t
itle }}
</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>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment