From 4070a7f69965f03676b1b3cfbe3bc1ec09c10856 Mon Sep 17 00:00:00 2001 From: jensp Date: Wed, 7 Jan 2015 14:13:10 +0000 Subject: [PATCH] New template tag for creating link to the item itself. Use for example if an item is shown using a portlet there should be a link to the normal detail view of the item. git-svn-id: https://svn.libreccm.org/ccm/trunk@3071 8810af33-2d31-482b-a856-94f89814c4df --- .../lib/template-tags/content-items.xsl | 18 ++++++++++++++++++ ccm-core/web/themes/foundry/foundry/main.xsl | 2 ++ 2 files changed, 20 insertions(+) diff --git a/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items.xsl b/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items.xsl index 273f63cb4..98e0fa0fd 100644 --- a/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items.xsl +++ b/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items.xsl @@ -561,6 +561,24 @@ + + +

+ Provides a link to content item itself. Useful if a content item is shown using a + portlet and you want to create a link to the normal detail view of the item. +

+
+
+ + + + + + + + diff --git a/ccm-core/web/themes/foundry/foundry/main.xsl b/ccm-core/web/themes/foundry/foundry/main.xsl index 7aa44129a..bb30c8091 100644 --- a/ccm-core/web/themes/foundry/foundry/main.xsl +++ b/ccm-core/web/themes/foundry/foundry/main.xsl @@ -35,6 +35,8 @@ indent="yes" encoding="utf-8"/> + +