|
@@ -4,11 +4,16 @@
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
|
-{% if panoramas %}
|
|
|
+{% if panoramas != None %}
|
|
|
+
|
|
|
<h2>Result</h2>
|
|
|
<p>Panoramas that see the point
|
|
|
<strong>{% if point_name %}{{ point_name }}{% else %}{{ point_lat }}°, {{ point_lon }}°{% endif %}</strong>:
|
|
|
</p>
|
|
|
+
|
|
|
+{% if panoramas|length == 0 %}
|
|
|
+<p><strong>No panorama seeing this point!</strong></p>
|
|
|
+{% else %}
|
|
|
<p>
|
|
|
<ul>
|
|
|
{% for panorama, distance, bearing, elevation in panoramas %}
|
|
@@ -18,4 +23,6 @@
|
|
|
</p>
|
|
|
{% endif %}
|
|
|
|
|
|
+{% endif %}
|
|
|
+
|
|
|
{% endblock content %}
|