]> git.ipfire.org Git - ipfire.org.git/blobdiff - src/templates/location/lookup.html
location: Redesign index page
[ipfire.org.git] / src / templates / location / lookup.html
index 3aeb3ca743caaffe0cea13a70bc9c666514f0f21..63cb3c83f7c2e7cba0580de072344cab09f61cd2 100644 (file)
                                        </dd>
                                {% end %}
 
-                               {% if address.asn %}
-                                       <dt>{{ _("Autonomous System") }}</dt>
-                                       <dd>{{ format_asn(address.asn) }}</dd>
-                               {% end %}
+                               <dt>{{ _("Autonomous System") }}</dt>
+                               <dd>{{ address.autonomous_system or _("N/A") }}</dd>
                        </dl>
 
                        <a class="btn btn-light btn-block" href="/lookup/{{ address }}/blacklists">