From 4d896573b15f3fa456623ab5c8204c62cf2f42c6 Mon Sep 17 00:00:00 2001 From: jeremystretch Date: Wed, 8 Dec 2021 11:04:03 -0500 Subject: [PATCH] Fixes #8005: Fix contact email display --- docs/release-notes/version-3.1.md | 1 + netbox/templates/tenancy/contact.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/release-notes/version-3.1.md b/docs/release-notes/version-3.1.md index efca02698..fda3c72ec 100644 --- a/docs/release-notes/version-3.1.md +++ b/docs/release-notes/version-3.1.md @@ -7,6 +7,7 @@ * [#7990](https://github.com/netbox-community/netbox/issues/7990) - Fix `title` display on contact detail view * [#7996](https://github.com/netbox-community/netbox/issues/7996) - Show WWN field in interface creation form * [#8001](https://github.com/netbox-community/netbox/issues/8001) - Correct verbose name for wireless LAN group model +* [#8005](https://github.com/netbox-community/netbox/issues/8005) - Fix contact email display --- diff --git a/netbox/templates/tenancy/contact.html b/netbox/templates/tenancy/contact.html index 534f019c4..7349a9e16 100644 --- a/netbox/templates/tenancy/contact.html +++ b/netbox/templates/tenancy/contact.html @@ -48,7 +48,7 @@ Email - {% if object.phone %} + {% if object.email %} {{ object.email }} {% else %} None