Geocode coordinates to Commons Category
-visit endpoint - +
+home +| +visit endpoint | view in OSM - {% if result.commons_cat %} | Commons category {% endif %} diff --git a/templates/query_error.html b/templates/query_error.html index 9c83655..731efe2 100644 --- a/templates/query_error.html +++ b/templates/query_error.html @@ -1,28 +1,41 @@ - - -
- -Geocode coordinates to Commons Category
-visit endpoint - -| view in OSM - -| # - +
+home +| +visit endpoint +| +view in OSM +| +#
+latitude: {{ lat }} / longitude: {{ lon }}
+ +{% if error %} +error
+ +{{ error }}
+ +{% endif %} + +{% if query %}query
{{ query }}
+{% endif %}
+{% if r %}
reply
{{ r.text }}
+{% endif %}
-
-
+