mirror of
https://codeberg.org/slatian/service.echoip-slatecave.git
synced 2025-07-17 14:33:27 +02:00
Added a button for Switching IP-Protocol in case someone has configured the addresses
This commit is contained in:
@ -12,7 +12,15 @@
|
||||
{% block og_path %}/{% endblock %}
|
||||
|
||||
{% block other_ip_button %}
|
||||
<!-- TODO -->
|
||||
{% if data.ressult.ip_info.is_v6_address %}
|
||||
{% if extra.v4_url %}
|
||||
<p class="button-paragraph"><a href="{{extra.v4_url}}">Look up your IPv4 address instead <small>(You'll get an error if you live in the future)</small></a></p>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% if extra.v6_url %}
|
||||
<p class="button-paragraph"><a href="{{extra.v6_url}}">Look up your IPv6 address instead <small>(You'll get an error if you live in the past)</small></a></p>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block extra_content %}
|
||||
|
Reference in New Issue
Block a user