Improve ix/show.twig

parent f5be4533
......@@ -4,13 +4,13 @@
<h1>{{ data.name }}</h1>
<ul>
<li>Operator: <a href="https://peeringdb.com/org/{{ data.org.id }}">{{ data.org.name }}</a></li>
<li>Website: <a href="{{ data.website }}">{{ data.website }}</a></li>
{% if data.org.id %}<li>Operator: <a href="https://peeringdb.com/org/{{ data.org.id }}">{{ data.org.name }}</a></li>{% endif %}
{% if data.website %}<li>Website: <a href="{{ data.website }}">{{ data.website }}</a></li>{% endif %}
<li>Statistics: <a href="{{ data.url_stats }}">{{ data.url_stats }}</a></li>
{% if data.url_stats %}<li>Statistics: <a href="{{ data.url_stats }}">{{ data.url_stats }}</a></li>{% endif %}
<li>Country: {{ data.country }}</li>
<li>Continent: {{ data.region_continent }}</li>
{% if data.country %}<li>Country: {{ data.country }}</li>{% endif %}
{% if data.region_continent %}<li>Continent: {{ data.region_continent }}</li>{% endif %}
</ul>
{# <pre><code>{{ dataRaw }}</code></pre> #}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment