diff --git a/templates/detail.html b/templates/detail.html index 2504d9a..0fc966f 100644 --- a/templates/detail.html +++ b/templates/detail.html @@ -62,11 +62,10 @@ L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {

Geocode coordinates to Commons Category

-

-home -| -visit endpoint +

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 731efe2..9c83655 100644 --- a/templates/query_error.html +++ b/templates/query_error.html @@ -1,41 +1,28 @@ -{% extends "base.html" %} + + + + + Geocode to commons + -{% block title %}Geocode to Commons: error{% endblock %} - -{% block content %} -

+

Geocode coordinates to Commons Category

-

-home -| -visit endpoint -| -view in OSM -| -# +

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 %} -
-{% endblock %} + +