From cb2681de9c0809b216cace77b436893fc28478ce Mon Sep 17 00:00:00 2001 From: tworrall Date: Mon, 13 May 2013 15:29:13 -0400 Subject: [PATCH] when no subclass, set as unclassified publication; corrected plural display error --- .../forms/managePublicationsForIndividual.ftl | 10 +++++++++- ...anagePublicationsForIndividualController.java | 16 ++++++++++------ 2 files changed, 19 insertions(+), 7 deletions(-) diff --git a/productMods/templates/freemarker/edit/forms/managePublicationsForIndividual.ftl b/productMods/templates/freemarker/edit/forms/managePublicationsForIndividual.ftl index 6aac7365..60d3cbe0 100644 --- a/productMods/templates/freemarker/edit/forms/managePublicationsForIndividual.ftl +++ b/productMods/templates/freemarker/edit/forms/managePublicationsForIndividual.ftl @@ -21,7 +21,15 @@ Check those publications you want to exclude from the profile page. <#list allSubclasses as sub> -

${sub}s

+

+ <#if sub = "Software" || sub = "Thesis"> + ${sub} + <#elseif sub = "Speech"> + Speeches + <#else> + ${sub}s + +

<#assign pubs = publications[sub]>