From 7a866b11e2954441777f7851ceba2e66e2c70729 Mon Sep 17 00:00:00 2001 From: jensp Date: Mon, 4 May 2015 17:42:31 +0000 Subject: [PATCH] Foundry: Some more documentation git-svn-id: https://svn.libreccm.org/ccm/trunk@3374 8810af33-2d31-482b-a856-94f89814c4df --- .../template-tags/content-items/article.xsl | 24 ++++++++++++ .../content-items/assets/notes.xsl | 1 - .../content-items/assets/related-links.xsl | 39 +++++++++++++++++++ .../foundry/lib/template-tags/loaders.xsl | 6 ++- 4 files changed, 67 insertions(+), 3 deletions(-) diff --git a/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items/article.xsl b/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items/article.xsl index 57fefe43d..4955a6d65 100644 --- a/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items/article.xsl +++ b/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items/article.xsl @@ -28,6 +28,23 @@ exclude-result-prefixes="xsl xs bebop cms foundry nav ui" version="2.0"> + + Tags for ccm-cms-types-article + +

+ The tags in these file are used to display the content + elements of ccm-cms-types-article. +

+
+
+ + + +

+ Outputs the lead text of a article. +

+
+
@@ -41,6 +58,13 @@ + + +

+ Outputs the main text of a article. +

+
+
diff --git a/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items/assets/notes.xsl b/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items/assets/notes.xsl index 83780b1be..9bb0eecf3 100644 --- a/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items/assets/notes.xsl +++ b/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items/assets/notes.xsl @@ -29,7 +29,6 @@ version="2.0"> - diff --git a/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items/assets/related-links.xsl b/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items/assets/related-links.xsl index 073a93908..4a034eaac 100644 --- a/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items/assets/related-links.xsl +++ b/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items/assets/related-links.xsl @@ -29,6 +29,14 @@ exclude-result-prefixes="xsl xs bebop cms foundry nav ui" version="2.0"> + + +

+ Root element to create the list of related links assigned to an + content item +

+
+
@@ -46,6 +54,15 @@
+ + +

+ This tag wraps the HTML to display a single related link. The + tag also adds the parameters required to create the link into + the environment, for example the URL (href) of the related link. +

+
+
@@ -105,18 +122,40 @@ + + +

+ Outputs the title of a related link. +

+
+
+ + +

+ Outputs the description of a related link. +

+
+
+ + +

+ Outputs the title of the target item of an internal related + link. +

+
+
diff --git a/ccm-core/web/themes/foundry/foundry/lib/template-tags/loaders.xsl b/ccm-core/web/themes/foundry/foundry/lib/template-tags/loaders.xsl index b7d71fb39..f85ab88a3 100644 --- a/ccm-core/web/themes/foundry/foundry/lib/template-tags/loaders.xsl +++ b/ccm-core/web/themes/foundry/foundry/lib/template-tags/loaders.xsl @@ -124,7 +124,8 @@ - + @@ -143,7 +144,8 @@ - +