A more citation-like display of item's metadata on index pages.
authorgfawcett <gfawcett@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Tue, 28 Dec 2010 21:12:42 +0000 (21:12 +0000)
committergfawcett <gfawcett@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Tue, 28 Dec 2010 21:12:42 +0000 (21:12 +0000)
It's APA-leaning, but that's okay for now.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1139 6d9bc8c9-1ec2-4278-b937-99fde70a366f

conifer/TODO
conifer/templates/components/site.xhtml

index ed81f48..6cf9b75 100644 (file)
@@ -10,6 +10,8 @@ NEW:
 
 * add/remove individuals in course sites
 
+* make sure volume, issue, source title, etc. are exposed over unAPI.
+
 CRITICAL:
 
 IMPORTANT:
index 64a94dd..59936d6 100644 (file)
@@ -53,9 +53,13 @@ searchtext = _('search this site...')
                <a href="${item.item_url()}" class="mainlink">${item}</a> 
       </div>
       <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>
+               <span py:if="item.author">${item.author}<span py:if="item.author[-1]!='.'">.</span></span>
+               <span py:if="item.published">(${item.published}).</span>
+               <span py:if="item.source_title">${item.source_title}.</span>
+               <span py:if="item.volume"><i>${item.volume}</i>(${item.issue}), ${item.pages}.</span>
+               <span py:if="not item.source_title">
+                 <span py:if="item.publisher">${item.publisher}.</span>
+               </span>
       </div>
       <div class="forbidden_notice" py:if="forbidden">Awaiting copyright clearance: Not available to students.</div>
          <div>