Fixed dynmap iframe and the info block on location pages
parent
a59cfc8632
commit
f723aaa40b
|
@ -23,9 +23,12 @@
|
|||
{% if loc.tunnel %}
|
||||
<p>Tunnel: {{ loc.tunnel.tunnel_str }}</p>
|
||||
{% endif %}
|
||||
|
||||
<hr class="my-4">
|
||||
{% if loc.dynmap %}
|
||||
{% block info %}{% endblock %} <iframe id="frame" style="visibility: hidden" onload="this.style.visibility = 'visible'" src="{{ loc.dynmap_url }}" width="100%" height="500">
|
||||
|
||||
{% block info %}{% endblock %}
|
||||
{% if loc.dynmap_url %}
|
||||
<iframe id="frame" style="visibility: hidden" onload="this.style.visibility = 'visible'" src="{{ loc.dynmap_url }}" width="100%" height="500">
|
||||
Your browser does not support iframes.
|
||||
</iframe>
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue