git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@63
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
from itertools import cycle
from conifer.syrup import models
-
<!-- !show_tree: display a tree of items in a hierarchical style. -->
<ul py:def="show_tree(tree)" py:if="tree">
<li py:for="item, subs in tree">
- <a href="item/${item.id}/">${item}</a>
+ <a href="/syrup/course/${item.course_id}/item/${item.id}/">${item}</a>
<span class="metalinks">
- [<a href="item/${item.id}/meta">about</a>
+ [<a href="/syrup/course/${item.course_id}/item/${item.id}/meta">about</a>
• <a href="/admin/syrup/item/${item.id}/">edit</a>
]
</span>