[open-ils-commits] r1026 - servres/trunk/conifer/syrup (gfawcett)

svn at svn.open-ils.org svn at svn.open-ils.org
Sat Oct 2 15:57:53 EDT 2010


Author: gfawcett
Date: 2010-10-02 15:57:48 -0400 (Sat, 02 Oct 2010)
New Revision: 1026

Modified:
   servres/trunk/conifer/syrup/models.py
Log:
physical items don't need an "About this item" link.

Modified: servres/trunk/conifer/syrup/models.py
===================================================================
--- servres/trunk/conifer/syrup/models.py	2010-10-01 01:34:02 UTC (rev 1025)
+++ servres/trunk/conifer/syrup/models.py	2010-10-02 19:57:48 UTC (rev 1026)
@@ -596,7 +596,7 @@
 
     def needs_meta_link(self):
         """Should an 'About' link be displayed for this item?"""
-        return self.item_type in ('ELEC', 'URL', 'PHYS')
+        return self.item_type in ('ELEC', 'URL')
 
     def item_url(self, suffix='', force_local_url=False):
         # I'm not fond of this being here. I think I'll leave this and



More information about the open-ils-commits mailing list