]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - dist/handlebar_helpers.js
/reverse.html should be reverse.html to app works in subdirectory
[nominatim-ui.git] / dist / handlebar_helpers.js
index e07c3390142b2b47361a46f3f7f9e15c8bebe0c5..bbb6e16d2aa2fcccc6d16d75881ab1bab0c4a2b2 100644 (file)
@@ -251,6 +251,9 @@ Handlebars.registerHelper({
     if (iRank <= 30) return 'house / building';
     return 'other';
   },
+  isAdminBoundary: function (aPlace) {
+    return aPlace.category === 'boundary' && aPlace.type === 'administrative';
+  },
   tooManyHierarchyLinesWarning: function (aPlace) {
     if (!aPlace.hierarchy) return '';