X-Git-Url: https://git.openstreetmap.org/nominatim-ui.git/blobdiff_plain/95e1f568b34b362ea5ff69c3c1a613611f547dd6..4376afb3a37ace2236de26725af278fdd34740f7:/src/templates/detailspage.hbs diff --git a/src/templates/detailspage.hbs b/src/templates/detailspage.hbs index a4e510c..8f9ff76 100644 --- a/src/templates/detailspage.hbs +++ b/src/templates/detailspage.hbs @@ -169,8 +169,8 @@ {{/each}} {{/if}} + {{> partial_h2 'Parent Of'}} {{#if aPlace.hierarchy}} - {{> partial_h2 'Parent Of'}} {{#each aPlace.hierarchy as |lines type|}} {{> partial_h3 type}} @@ -178,6 +178,12 @@ {{> partial_details_one_row}} {{/each}} {{/each}} + {{else}} + + + display child places + + {{/if}} {{tooManyHierarchyLinesWarning aPlace}}