From 4d924a9041890efcfc39414dad9b81e1181b6a11 Mon Sep 17 00:00:00 2001 From: Arthur Hanson Date: Wed, 29 May 2024 07:22:59 -0700 Subject: [PATCH] 16202 fix mapit button for internationalized decimal seperator (#16270) * 16202 fix mapit button for internationalized decimal seperator * 16202 revert untranslate * 16202 revert untranslate --- netbox/templates/dcim/device.html | 3 ++- netbox/templates/dcim/site.html | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/netbox/templates/dcim/device.html b/netbox/templates/dcim/device.html index bf53ef002..12ba4a8d4 100644 --- a/netbox/templates/dcim/device.html +++ b/netbox/templates/dcim/device.html @@ -5,6 +5,7 @@ {% load helpers %} {% load plugins %} {% load i18n %} +{% load l10n %} {% load mptt %} {% block content %} @@ -63,7 +64,7 @@ {% if object.latitude and object.longitude %} {% if config.MAPS_URL %}
- + {% trans "Map It" %}
diff --git a/netbox/templates/dcim/site.html b/netbox/templates/dcim/site.html index d3a44f3ac..1ad0a75ae 100644 --- a/netbox/templates/dcim/site.html +++ b/netbox/templates/dcim/site.html @@ -3,6 +3,7 @@ {% load plugins %} {% load tz %} {% load i18n %} +{% load l10n %} {% load mptt %} {% block breadcrumbs %} @@ -95,7 +96,7 @@ {% if object.latitude and object.longitude %} {% if config.MAPS_URL %}
- + {% trans "Map It" %}