[open-ils-commits] r248 - servres/trunk/conifer/templates (gfawcett)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Apr 2 21:31:29 EDT 2009
Author: gfawcett
Date: 2009-04-02 21:31:27 -0400 (Thu, 02 Apr 2009)
New Revision: 248
Modified:
servres/trunk/conifer/templates/tabbar.xhtml
Log:
hide tab-bar admin-options from non-administrators
Modified: servres/trunk/conifer/templates/tabbar.xhtml
===================================================================
--- servres/trunk/conifer/templates/tabbar.xhtml 2009-04-03 01:31:14 UTC (rev 247)
+++ servres/trunk/conifer/templates/tabbar.xhtml 2009-04-03 01:31:27 UTC (rev 248)
@@ -10,7 +10,10 @@
<li><a href="/syrup/">Home</a></li>
<li><a href="/syrup/browse/">Browse</a></li>
<li class="active"><a href="/syrup/course/">My Courses</a></li>
- <li><a href="/syrup/admin/">Admin Options</a></li>
- <li><a href="/syrup/phys/">Physical Item Processing</a></li>
+ <div py:strip="True"
+ py:if="request.user.is_staff">
+ <li><a href="/syrup/admin/">Admin Options</a></li>
+ <li><a href="/syrup/phys/">Physical Item Processing</a></li>
+ </div>
</ul>
</html>
More information about the open-ils-commits
mailing list