Revision 241a15cd ui/templates/machines_icon.html

b/ui/templates/machines_icon.html
52 52
                        </div>
53 53
                    </h5>
54 54
                </div>
55
                <a href="#" class="ip">
55
                <span class="ip">
56 56
                    <h5>
57 57
                        {% trans "IP:" %} <span class="ip-version-label">v4</span> <span class="public ipv4-text"></span>
58 58
                        <span class="ip-version-label">v6</span> <span class="public ipv6-text"></span>
59 59
                    </h5>
60
                </a>
60
                </span>
61 61
            </div>
62 62
            <div class="info">
63 63
                <div class="info-header">
......
646 646
            }
647 647
            // find and display ips
648 648
            var ips = get_public_ips(server);
649
            existing.find("a.ip span.public").text(ips['ip4']);
650
            existing.find("a.ip span.public.ipv6-text").text(ips['ip6']);
649
            existing.find("span.ip span.public").text(ips['ip4']);
650
            existing.find("span.ip span.public.ipv6-text").text(ips['ip6']);
651 651
        }
652 652
        // if it doesn't exist and the server is not DELETED, make a new entry
653 653
        else if ( server.status != 'DELETED') {
......
698 698
            machine.find(".image-size-data").text(image_params['size']);
699 699
            // find and display ips
700 700
            var ips = get_public_ips(server);
701
            machine.find("a.ip span.public").text(ips['ip4']);
702
            machine.find("a.ip span.public.ipv6-text").text(ips['ip6']);
701
            machine.find("span.ip span.public").text(ips['ip4']);
702
            machine.find("span.ip span.public.ipv6-text").text(ips['ip6']);
703 703
        }
704 704
        /*
705 705
        Do some repeated actions that include:

Also available in: Unified diff