mirror of
https://codeberg.org/slatian/service.echoip-slatecave.git
synced 2025-07-16 05:53:28 +02:00
Working geoip lookup
This commit is contained in:
7
templates/helpers.html
Normal file
7
templates/helpers.html
Normal file
@ -0,0 +1,7 @@
|
||||
{% macro place_dl(place, label="", iso_code_prefix="") %}
|
||||
{% if place %}
|
||||
{% if label %}<dh>{{label}}</dh>{% endif %}
|
||||
<dd>{{place.name}} {% if place.iso_code%}({% if iso_code_prefix %}{{iso_code_prefix}}-{% endif %}{{place.iso_code}}){% endif %}</dd>
|
||||
{% endif %}
|
||||
{% endmacro place_dl %}
|
||||
|
Reference in New Issue
Block a user