From 4d78b2896db0050222c534a043e0a624224c1ad3 Mon Sep 17 00:00:00 2001 From: j2blake Date: Wed, 20 Apr 2011 16:20:41 +0000 Subject: [PATCH] NIHVIVO-2492 Fix misspelling of has_content, add guards against trying to use empty URLs. --- .../body/siteAdmin/siteAdmin-dataInput.ftl | 2 +- .../body/siteAdmin/siteAdmin-siteConfiguration.ftl | 12 +++++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/webapp/web/templates/freemarker/body/siteAdmin/siteAdmin-dataInput.ftl b/webapp/web/templates/freemarker/body/siteAdmin/siteAdmin-dataInput.ftl index bbb2cb894..31fa25321 100644 --- a/webapp/web/templates/freemarker/body/siteAdmin/siteAdmin-dataInput.ftl +++ b/webapp/web/templates/freemarker/body/siteAdmin/siteAdmin-dataInput.ftl @@ -4,7 +4,7 @@ <#import "lib-form.ftl" as form> -<#if dataInput?hasContent> +<#if dataInput?has_content>

Data Input

diff --git a/webapp/web/templates/freemarker/body/siteAdmin/siteAdmin-siteConfiguration.ftl b/webapp/web/templates/freemarker/body/siteAdmin/siteAdmin-siteConfiguration.ftl index 3c7a3d2fe..db3b6af0c 100644 --- a/webapp/web/templates/freemarker/body/siteAdmin/siteAdmin-siteConfiguration.ftl +++ b/webapp/web/templates/freemarker/body/siteAdmin/siteAdmin-siteConfiguration.ftl @@ -9,17 +9,23 @@