From 103d1f91478fd3f201bc6bda2782b1c997d80be1 Mon Sep 17 00:00:00 2001 From: jensp Date: Fri, 10 Apr 2015 06:52:07 +0000 Subject: [PATCH] Foundry: Some refinements for ccm-cms-types-person and ccm-cms-types-contact to avoid code duplication git-svn-id: https://svn.libreccm.org/ccm/trunk@3328 8810af33-2d31-482b-a856-94f89814c4df --- .../template-tags/content-items/contact.xsl | 14 +- .../template-tags/content-items/person.xsl | 122 ++++++++++-------- 2 files changed, 83 insertions(+), 53 deletions(-) diff --git a/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items/contact.xsl b/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items/contact.xsl index 407dc8fec..98ea590b9 100644 --- a/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items/contact.xsl +++ b/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items/contact.xsl @@ -28,7 +28,17 @@ exclude-result-prefixes="xsl xs bebop cms foundry nav ui" version="2.0"> - + + + + + + + + + diff --git a/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items/person.xsl b/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items/person.xsl index 601d6d133..9c3a16229 100644 --- a/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items/person.xsl +++ b/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items/person.xsl @@ -28,7 +28,73 @@ exclude-result-prefixes="xsl xs bebop cms foundry nav ui" version="2.0"> - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -115,8 +181,8 @@ + tunnel="yes" + select="$contentitem-tree/contacts/contact[@contactType=$contact-type]/contactentries"/> @@ -137,51 +203,5 @@ - - - + \ No newline at end of file