From 9479a220f53fd3b0c344c7f6b3a0bcf598383def Mon Sep 17 00:00:00 2001 From: ryounes Date: Tue, 28 Jun 2011 20:19:07 +0000 Subject: [PATCH] NIHVIVO-2734 Don't show property group menu if there are no property group menu items --- .../individual-propertyGroupMenu.ftl | 26 ++++++++++--------- 1 file changed, 14 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 d5972b668..58cc4a81a 100644 --- a/webapp/web/templates/freemarker/body/partials/individual/individual-propertyGroupMenu.ftl +++ b/webapp/web/templates/freemarker/body/partials/individual/individual-propertyGroupMenu.ftl @@ -8,17 +8,19 @@ <#assign groups = propertyGroups.all> <#if groups?has_content> - + <#if (groups?size > 1) || (groups?first).getName(nameForOtherGroup)?has_content> + + \ No newline at end of file