From 4c6ae8739028d76a85ed58c4d5f2636d6e630b92 Mon Sep 17 00:00:00 2001 From: nac26 Date: Tue, 21 Dec 2010 22:37:27 +0000 Subject: [PATCH] NIHVIVO-1381 Updated name of template file to match naming convention throughout app (start with lowercase) --- .../{DateTimeWithPrecision.ftl => dateTimeWithPrecision.ftl} | 5 ----- .../vitro/webapp/edit/elements/DateTimeWithPrecision.java | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) rename productMods/templates/freemarker/widgets/edit/{DateTimeWithPrecision.ftl => dateTimeWithPrecision.ftl} (97%) diff --git a/productMods/templates/freemarker/widgets/edit/DateTimeWithPrecision.ftl b/productMods/templates/freemarker/widgets/edit/dateTimeWithPrecision.ftl similarity index 97% rename from productMods/templates/freemarker/widgets/edit/DateTimeWithPrecision.ftl rename to productMods/templates/freemarker/widgets/edit/dateTimeWithPrecision.ftl index b754ee4d..997e895f 100644 --- a/productMods/templates/freemarker/widgets/edit/DateTimeWithPrecision.ftl +++ b/productMods/templates/freemarker/widgets/edit/dateTimeWithPrecision.ftl @@ -1,10 +1,5 @@ <#-- $This file is distributed under the terms of the license in /doc/license.txt$ --> -<#-- -This is the placeholder template for the dateTime with precision input element. -The UI team should replace any or all of the text in this file. ---> - <#-- year:
month:
diff --git a/src/edu/cornell/mannlib/vitro/webapp/edit/elements/DateTimeWithPrecision.java b/src/edu/cornell/mannlib/vitro/webapp/edit/elements/DateTimeWithPrecision.java index f7212fdf..3dd1c59c 100644 --- a/src/edu/cornell/mannlib/vitro/webapp/edit/elements/DateTimeWithPrecision.java +++ b/src/edu/cornell/mannlib/vitro/webapp/edit/elements/DateTimeWithPrecision.java @@ -41,7 +41,7 @@ public class DateTimeWithPrecision extends BaseEditElement { private static final Log log = LogFactory.getLog(DateTimeWithPrecision.class); - protected String TEMPATE_NAME = "DateTimeWithPrecision.ftl"; + protected String TEMPATE_NAME = "dateTimeWithPrecision.ftl"; protected static final String vivoCore = "http://vivoweb.org/ontology/core#"; protected static final String[] PRECISIONS = { vivoCore+"NoPrecision",