From 607ffcdd89cee197c5adf4421f84446611720f8a Mon Sep 17 00:00:00 2001 From: ryounes Date: Fri, 8 Apr 2011 18:46:44 +0000 Subject: [PATCH] NIHVIVO-1932 Don't print classgroup public name if empty or null --- webapp/web/templates/freemarker/body/classGroups.ftl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webapp/web/templates/freemarker/body/classGroups.ftl b/webapp/web/templates/freemarker/body/classGroups.ftl index 5e8d89a3d..d0d8ce785 100644 --- a/webapp/web/templates/freemarker/body/classGroups.ftl +++ b/webapp/web/templates/freemarker/body/classGroups.ftl @@ -9,7 +9,9 @@ <#list classGroups as classGroup> <#-- Only render classgroups that have at least one class with individuals --> <#if (classGroup.individualCount > 0)> -

${classGroup.publicName}

+ <#if classGroup.publicName?has_content> +

${classGroup.publicName}

+