Add a case when back_to is not set

This commit is contained in:
PCoder 2019-01-30 00:38:09 +01:00
parent bed453a208
commit 678f6f424e
1 changed files with 9 additions and 3 deletions

View File

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