From 45d550878d56234553d9195d68fa3a4fbcd92d97 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Fri, 3 Feb 2023 18:36:34 -0500 Subject: [PATCH] paperwork: Hide list addresses in department cert view if None --- paperwork/templates/paperwork/department_certifications.dj.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paperwork/templates/paperwork/department_certifications.dj.html b/paperwork/templates/paperwork/department_certifications.dj.html index 51421ac..492ffa5 100644 --- a/paperwork/templates/paperwork/department_certifications.dj.html +++ b/paperwork/templates/paperwork/department_certifications.dj.html @@ -16,7 +16,7 @@ {{ department.name }} {{ department.shop_lead_flag.members.all|join:", " }} - {{ department.list_address }} + {% if department.list_address is not none %}{{ department.list_address }}{% endif %} {% endfor %}