Commit 678f6f42 authored by PCoder's avatar PCoder

Add a case when back_to is not set

parent bed453a2
......@@ -32,9 +32,15 @@
<div class="center">
<p>
Sorry, this part of {{ domain }} is not reachable by IPv4. Please
upgrade to IPv6 and try to reach <a
href="{{ back_to_url }}">{{ domain }}</a> again.</p>
{% if domain != "" %}
Sorry, this part of {{ domain }} is not reachable by IPv4. Please
upgrade to IPv6 and try to reach <a
href="{{ back_to_url }}">{{ domain }}</a> again.
{% else %}
Sorry, this part of the Internet is not reachable by IPv4. Please
upgrade to IPv6 and try again.
{% endif %}
</p>
</div>
</body>
</html>
\ No newline at end of file
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