[open-ils-commits] r1033 - servres/trunk/conifer/templates/components (gfawcett)

svn at svn.open-ils.org svn at svn.open-ils.org
Sat Oct 2 20:24:50 EDT 2010


Author: gfawcett
Date: 2010-10-02 20:24:49 -0400 (Sat, 02 Oct 2010)
New Revision: 1033

Modified:
   servres/trunk/conifer/templates/components/site.xhtml
Log:
show pubdate even if no publisher.

Modified: servres/trunk/conifer/templates/components/site.xhtml
===================================================================
--- servres/trunk/conifer/templates/components/site.xhtml	2010-10-02 23:54:42 UTC (rev 1032)
+++ servres/trunk/conifer/templates/components/site.xhtml	2010-10-03 00:24:49 UTC (rev 1033)
@@ -52,8 +52,10 @@
       <div class="mainline ${item.item_type=='HEADING' and 'headingmainline' or ''}">
 		<a href="${item.item_url()}" class="mainlink">${item}</a> 
       </div>
-      <div class="author_pub" py:if="item.author or item.publisher">
-		${item.author}. ${item.publisher}.
+      <div class="author_pub" py:if="item.author or item.publisher or item.published">
+		<span py:if="item.author">${item.author}.</span>
+		<span py:if="item.publisher">${item.publisher}.</span>
+		<span py:if="item.published">${item.published}.</span>
       </div>
 	  <div>
 		<div class="menublock" py:if="not (item.item_type=='HEADING' and not edit)">



More information about the open-ils-commits mailing list