4
0
mirror of https://github.com/cwinfo/yggdrasil-map synced 2025-06-26 16:19:24 +00:00

Safely omit IP if it is not available.

This commit is contained in:
Adam Novak
2015-08-28 00:07:44 -07:00
parent 23d9a94203
commit 7aa07f7bc3
2 changed files with 5 additions and 2 deletions

View File

@ -15,7 +15,7 @@
<li><a href="/" {% if page == 'network' %} class="selected" {% endif %}>Network</a></li>
<li><a href="/about"{% if page == 'about' %} class="selected" {% endif %}>About</a></li>
<li><a href="https://github.com/zielmicha/fc00.org">Source</a></li>
<li><tt>{{ ip }}</tt></li>
<li><tt>{% if ip is not none %}{{ ip }}{% endif %}</tt></li>
</ul>
</div>