[open-ils-commits] r1224 - servres/trunk/conifer/templates/components (artunit)

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Feb 8 19:29:44 EST 2011


Author: artunit
Date: 2011-02-08 19:29:44 -0500 (Tue, 08 Feb 2011)
New Revision: 1224

Modified:
   servres/trunk/conifer/templates/components/site.xhtml
Log:
quick fix for status link

Modified: servres/trunk/conifer/templates/components/site.xhtml
===================================================================
--- servres/trunk/conifer/templates/components/site.xhtml	2011-02-08 03:58:58 UTC (rev 1223)
+++ servres/trunk/conifer/templates/components/site.xhtml	2011-02-09 00:29:44 UTC (rev 1224)
@@ -68,13 +68,13 @@
          </div>
     		
          </a>
-      <div py:with="(_lib, _desk, _avail, _callno, _dueinfo, _circmod) = stat">
+         <div py:if="valid"  py:with="(_lib, _desk, _avail, _callno, _dueinfo, _circmod) = stat">
          	<div py:if="_desk &gt; 1 and item.bib_id and gethook('bib_id_to_url')"
 			py:with="url=callhook('bib_id_to_url', item.bib_id)">
 			<a py:if="url" href="${url}">View status of all copies in catalogue</a>
          	</div>
+         </div>
       </div>
-      </div>
          
 
       <div class="availability avail_nonphys" py:if="item.item_type != 'PHYS'">



More information about the open-ils-commits mailing list