[open-ils-commits] r125 - servres/trunk/conifer/templates/components (gfawcett)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Feb 17 23:15:33 EST 2009
Author: gfawcett
Date: 2009-02-17 23:15:31 -0500 (Tue, 17 Feb 2009)
New Revision: 125
Removed:
servres/trunk/conifer/templates/components/item.xhtml
Log:
removed obsolete item.xhtml (merged into course.xhtml)
Deleted: servres/trunk/conifer/templates/components/item.xhtml
===================================================================
--- servres/trunk/conifer/templates/components/item.xhtml 2009-02-18 04:02:29 UTC (rev 124)
+++ servres/trunk/conifer/templates/components/item.xhtml 2009-02-18 04:15:31 UTC (rev 125)
@@ -1,37 +0,0 @@
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:py="http://genshi.edgewall.org/"
- xmlns:xi="http://www.w3.org/2001/XInclude"
- py:strip="">
-
- <!-- !show_tree: display a tree of items in a hierarchical style. -->
- <ul py:def="show_tree(tree, edit=False)" py:if="tree" class="itemtree">
- <li py:for="item, subs in tree" class="item_${item.item_type}">
- <a href="${item_url(item)}">${item}</a>
- <span py:if="item.needs_meta_link()" class="menublock">
- <a href="${item_url(item, 'meta')}">about</a>
- </span>
- <!-- ${show_tree(subs, edit)} -->
- </li>
- </ul>
-
- <div py:def="nested_title(item)"
- py:with="hier=item.hierarchy()[:-1]; lastnum=len(hier)"
- class="nestedtitle">
- <div class="breadcrumbs">
- <span><a href="${course_url(item.course)}">Top</a></span> »
- <span py:for="n, x in enumerate(hier)"><a href="${item_url(x)}">${x.title}</a> » </span>
-<b>${item.title}</b>
- </div>
- </div>
-
- <div py:def="add_subs(parent=None)" class="itemadd">
- <div>Add a new item:</div>
- <ul py:with="prefix = (not parent) and 'item/0/' or ''">
- <li><a href="${prefix}add/?item_type=HEADING">Subheading</a></li>
- <li><a href="${prefix}add/?item_type=URL">URL</a></li>
- <li><a href="${prefix}add/?item_type=ELEC">Electronic Document</a></li>
- <li><a href="${prefix}add/?item_type=PHYS">Physical Book/Document</a></li>
- </ul>
- </div>
-
-</html>
More information about the open-ils-commits
mailing list