From b0a274a03fd1510eb79a7f580f202664462f6d33 Mon Sep 17 00:00:00 2001 From: tworrall Date: Wed, 30 Nov 2011 18:44:14 +0000 Subject: [PATCH] NIHVIVO-2595 adding title attribute to anchor tags --- .../body/menupage/menupage--classgroup-people.ftl | 6 +++--- .../partials/individual/propStatement-dateTimeInterval.ftl | 6 +++++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/productMods/templates/freemarker/body/menupage/menupage--classgroup-people.ftl b/productMods/templates/freemarker/body/menupage/menupage--classgroup-people.ftl index b24be97d..295e279f 100644 --- a/productMods/templates/freemarker/body/menupage/menupage--classgroup-people.ftl +++ b/productMods/templates/freemarker/body/menupage/menupage--classgroup-people.ftl @@ -14,9 +14,9 @@ <#assign courseUri = "http://vivoweb.org/ontology/core#Course" /> diff --git a/productMods/templates/freemarker/body/partials/individual/propStatement-dateTimeInterval.ftl b/productMods/templates/freemarker/body/partials/individual/propStatement-dateTimeInterval.ftl index 281ef448..944bd14c 100644 --- a/productMods/templates/freemarker/body/partials/individual/propStatement-dateTimeInterval.ftl +++ b/productMods/templates/freemarker/body/partials/individual/propStatement-dateTimeInterval.ftl @@ -7,8 +7,12 @@ --> <#import "lib-datetime.ftl" as dt> +<#-- + Added ! statement.label?? to this if statement. Otherwise, we display the incomplete message + even when there is a valid label (possibly via ingest), such as Spring 2010. tlw72 +--> -<#if ! statement.valueStart?? && ! statement.valueEnd??> +<#if ! statement.valueStart?? && ! statement.valueEnd?? && ! statement.label?? > incomplete date/time interval <#else> <#if statement.label??>