From acd137b269abd61dc7a4289286febef06aeb770d Mon Sep 17 00:00:00 2001 From: Morten Brekkevold Date: Fri, 15 Jan 2021 10:02:54 +0100 Subject: [PATCH] Use real sysname in hyperlink to ipdevinfo This fixes a small bug in the default configuration of etc/geomap/popup_place.html Because: - Geomap may internally have shortened box.sysname by chopping off the DOMAIN_SUFFIX. - Using a shortened sysname will not produce a valid ipdevinfo link. - Geomap stores the original sysname in the box.real_sysname property. Fixes #2239 --- python/nav/etc/geomap/popup_place.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/nav/etc/geomap/popup_place.html b/python/nav/etc/geomap/popup_place.html index 7cd4687f03..dd215d82d3 100644 --- a/python/nav/etc/geomap/popup_place.html +++ b/python/nav/etc/geomap/popup_place.html @@ -36,7 +36,7 @@ {% for box in room.netboxes %}
  • - {{ box.sysname }}