[open-ils-commits] r1305 - servres/trunk/conifer/templates/item (gfawcett)
svn at svn.open-ils.org
svn at svn.open-ils.org
Sat Apr 2 21:08:44 EDT 2011
Author: gfawcett
Date: 2011-04-02 21:08:43 -0400 (Sat, 02 Apr 2011)
New Revision: 1305
Modified:
servres/trunk/conifer/templates/item/common_metadata.xhtml
Log:
hide 'Update Catalogue' UI if you do not have OPENSRF_STAFF_USERID defined.
Modified: servres/trunk/conifer/templates/item/common_metadata.xhtml
===================================================================
--- servres/trunk/conifer/templates/item/common_metadata.xhtml 2011-04-03 00:53:54 UTC (rev 1304)
+++ servres/trunk/conifer/templates/item/common_metadata.xhtml 2011-04-03 01:08:43 UTC (rev 1305)
@@ -35,7 +35,7 @@
</select>
</td>
</tr>
- <tr py:if="user.is_staff and item.item_type == 'PHYS'">
+ <tr py:if="user.is_staff and item.item_type == 'PHYS' and hasattr(settings, 'OPENSRF_STAFF_USERID')">
<th>Catalogue Settings</th>
<td>
<table>
More information about the open-ils-commits
mailing list