From 4178e700cdd0184a640d63ecc8d84ec7724de29c Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Sun, 31 Aug 2014 01:50:58 +0200 Subject: [PATCH] move rDNS display from add host view to home view --- nsupdate/main/templates/main/home.html | 4 +++- nsupdate/main/templates/main/host_add.html | 13 ------------- 2 files changed, 3 insertions(+), 14 deletions(-) diff --git a/nsupdate/main/templates/main/home.html b/nsupdate/main/templates/main/home.html index 5b1b1cb..942b3e4 100644 --- a/nsupdate/main/templates/main/home.html +++ b/nsupdate/main/templates/main/home.html @@ -9,9 +9,11 @@ {% block content %} {% include "main/includes/home_top.html" %}
-

{% trans "Your current IP(s):" %}

+

{% trans "Your current IP(s) + reverse DNS:" %}

IPv4: {{ request.session.ipv4 }}

+

rDNS: {{ request.session.ipv4_rdns }}

IPv6: {{ request.session.ipv6 }}

+

rDNS: {{ request.session.ipv6_rdns }}

{% include "main/includes/home_middle.html" %}
diff --git a/nsupdate/main/templates/main/host_add.html b/nsupdate/main/templates/main/host_add.html index b0ec756..58a6c4d 100644 --- a/nsupdate/main/templates/main/host_add.html +++ b/nsupdate/main/templates/main/host_add.html @@ -30,19 +30,6 @@ {% trans "We'll show you configuration examples after you add a host." %}

-
-

{% trans "Your current IP(s) + reverse DNS:" %}

-

- IPv4: {{ request.session.ipv4 }} -
- rDNS: {{ request.session.ipv4_rdns }} -

-

- IPv6: {{ request.session.ipv6 }} -
- rDNS: {{ request.session.ipv6_rdns }} -

-
{% endblock %}