Author: sdumitriu
Date: 2008-02-13 16:31:54 +0100 (Wed, 13 Feb 2008)
New Revision: 7595
Added:
xwiki-platform/web/trunk/standard/src/main/webapp/templates/space.vm
Removed:
xwiki-platform/skins/trunk/albatross/src/main/resources/albatross/space.vm
Log:
XWIKI-2114: Upgrade the default templates
XSALBATROSS-13: Move Albatross templates files to the XWiki Core templates
directory to share them with other skins
Deleted:
xwiki-platform/skins/trunk/albatross/src/main/resources/albatross/space.vm
===================================================================
--- xwiki-platform/skins/trunk/albatross/src/main/resources/albatross/space.vm
2008-02-13 15:31:37 UTC (rev 7594)
+++ xwiki-platform/skins/trunk/albatross/src/main/resources/albatross/space.vm
2008-02-13 15:31:54 UTC (rev 7595)
@@ -1,26 +0,0 @@
-#set($parents = $xwiki.arrayList)
-#set($discard = $parents.add($doc.fullName))
-#macro(breadcrumb $doc $string $level)
-#set($parent = $doc.parent)
-#if(($parent != "") && ($level < 6) && (!$parents.contains($parent)))
-#set($discard = $parents.add($parent))
-#set($pdoc = $xwiki.getDocument($parent).getTranslatedDocument())
-#set($pdocurl = $pdoc.getURL("view"))
-#set($nstring = "<a href='$pdocurl'>${pdoc.displayTitle}</a> > $string")
-#set($level = $level + 1)
-#breadcrumb($pdoc $nstring $level)
-#else
-$string
-#end
-#end
-#if($context.getMode()==0) ## Visible only in a page
-<div id="headerspace" class="layoutsection">
-<div class="minwidth"></div>
-<hr/>
- <div id="breadcrumbs">
- <span class="breadcrumbspace"><a href="$spaceviewurl">$doc.web</a>: </span>
-#breadcrumb($doc "<a href='$doc.getURL('view')'>$tdoc.displayTitle</a>" 0)
- </div>
-<hr/>
-</div>
-#end
\ No newline at end of file
Copied: xwiki-platform/web/trunk/standard/src/main/webapp/templates/space.vm
(from rev 7594,
xwiki-platform/skins/trunk/albatross/src/main/resources/albatross/space.vm)
===================================================================
--- xwiki-platform/web/trunk/standard/src/main/webapp/templates/space.vm
(rev 0)
+++ xwiki-platform/web/trunk/standard/src/main/webapp/templates/space.vm
2008-02-13 15:31:54 UTC (rev 7595)
@@ -0,0 +1,26 @@
+#set($parents = $xwiki.arrayList)
+#set($discard = $parents.add($doc.fullName))
+#macro(breadcrumb $doc $string $level)
+#set($parent = $doc.parent)
+#if(($parent != "") && ($level < 6) && (!$parents.contains($parent)))
+#set($discard = $parents.add($parent))
+#set($pdoc = $xwiki.getDocument($parent).getTranslatedDocument())
+#set($pdocurl = $pdoc.getURL("view"))
+#set($nstring = "<a href='$pdocurl'>${pdoc.displayTitle}</a> > $string")
+#set($level = $level + 1)
+#breadcrumb($pdoc $nstring $level)
+#else
+$string
+#end
+#end
+#if($context.getMode()==0) ## Visible only in a page
+<div id="headerspace" class="layoutsection">
+<div class="minwidth"></div>
+<hr/>
+ <div id="breadcrumbs">
+ <span class="breadcrumbspace"><a href="$spaceviewurl">$doc.web</a>: </span>
+#breadcrumb($doc "<a href='$doc.getURL('view')'>$tdoc.displayTitle</a>" 0)
+ </div>
+<hr/>
+</div>
+#end
\ No newline at end of file
_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications