From e7335f906108c71ee9012ee77ef1642d028447b7 Mon Sep 17 00:00:00 2001 From: ryounes Date: Wed, 6 Jul 2011 20:20:39 +0000 Subject: [PATCH] NIHVIVO-2449 On individual list page, display preferredTitle with fallback to mostSpecificTypes. Don't show mostSpecificTypes that are the same as the type being displayed on the page, to avoid redundancy. --- .../freemarker/body/partials/listedIndividual.ftl | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/productMods/templates/freemarker/body/partials/listedIndividual.ftl b/productMods/templates/freemarker/body/partials/listedIndividual.ftl index 4608907d..4caa8b64 100644 --- a/productMods/templates/freemarker/body/partials/listedIndividual.ftl +++ b/productMods/templates/freemarker/body/partials/listedIndividual.ftl @@ -1,9 +1,11 @@ <#-- $This file is distributed under the terms of the license in /doc/license.txt$ --> -<#-- Display of an individual in a list (/individuallist). --> +<#-- Display of an individual in a list (on /individuallist and menu pages). --> + +<#import "lib-vivo-properties.ftl" as p> ${individual.name} -<#if individual.preferredTitle?has_content>${individual.preferredTitle} +<@p.displayTitle individual /> -<#-- add display of web pages --> \ No newline at end of file +<#-- add display of web pages? --> \ No newline at end of file