From 01e6cf274c2ebc80049854e2d29b609c968b4483 Mon Sep 17 00:00:00 2001 From: rjy7 Date: Thu, 13 Jan 2011 15:55:34 +0000 Subject: [PATCH] Don't print property group menu container elements if there are no property groups to display in the menu --- .../individual-propertyGroupMenu.ftl | 30 +++++++++++-------- 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/webapp/web/templates/freemarker/body/partials/individual/individual-propertyGroupMenu.ftl b/webapp/web/templates/freemarker/body/partials/individual/individual-propertyGroupMenu.ftl index 1e725ab8f..7c283cda8 100644 --- a/webapp/web/templates/freemarker/body/partials/individual/individual-propertyGroupMenu.ftl +++ b/webapp/web/templates/freemarker/body/partials/individual/individual-propertyGroupMenu.ftl @@ -4,15 +4,21 @@ <#assign nameForOtherGroup = nameForOtherGroup!"other"> - \ No newline at end of file +<#if (propertyGroups.all)??> + <#assign groups = propertyGroups.all> + + <#if groups?has_content> + + + \ No newline at end of file