[open-ils-commits] r1147 - in servres/trunk/conifer/templates: . components item (gfawcett)

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Dec 29 10:43:02 EST 2010


Author: gfawcett
Date: 2010-12-29 10:43:00 -0500 (Wed, 29 Dec 2010)
New Revision: 1147

Modified:
   servres/trunk/conifer/templates/components/site.xhtml
   servres/trunk/conifer/templates/item/item_add_url.xhtml
   servres/trunk/conifer/templates/site_join.xhtml
Log:
display tweaks

Modified: servres/trunk/conifer/templates/components/site.xhtml
===================================================================
--- servres/trunk/conifer/templates/components/site.xhtml	2010-12-29 15:42:57 UTC (rev 1146)
+++ servres/trunk/conifer/templates/components/site.xhtml	2010-12-29 15:43:00 UTC (rev 1147)
@@ -105,12 +105,12 @@
   </div>
   
   <div py:def="add_subs(parent=None)" class="itemadd">
-    <div>Add a new item:</div>
-    <ul py:with="prefix = (not parent) and 'item/0/' or ''">
-      <li><a href="${prefix}add/?item_type=HEADING">Subheading</a></li>
-      <li><a href="${prefix}add/?item_type=URL">URL</a></li>
-      <li><a href="${prefix}add/?item_type=ELEC">Electronic Document</a></li>
-      <li><a href="${prefix}add/?item_type=PHYS">Physical Item or Catalogued Electronic Item</a></li>
+    <div><b>Add a new item</b></div>
+    <ul class="itemtree" py:with="prefix = (not parent) and 'item/0/' or ''">
+      <li class="item_URL"><a href="${prefix}add/?item_type=URL">Link to external resource</a></li>
+      <li class="item_ELEC"><a href="${prefix}add/?item_type=ELEC">Uploaded electronic document</a></li>
+      <li class="item_PHYS"><a href="${prefix}add/?item_type=PHYS">Catalogued item (e.g., book)</a></li>
+      <li style="margin-top: 0;" class="item_HEADING"><a href="${prefix}add/?item_type=HEADING">Subheading</a></li>
     </ul>
   </div>
 

Modified: servres/trunk/conifer/templates/item/item_add_url.xhtml
===================================================================
--- servres/trunk/conifer/templates/item/item_add_url.xhtml	2010-12-29 15:42:57 UTC (rev 1146)
+++ servres/trunk/conifer/templates/item/item_add_url.xhtml	2010-12-29 15:43:00 UTC (rev 1147)
@@ -23,7 +23,7 @@
     ${nested_title(parent_item)}
     ${offer_to_delete(item)}
     <div py:if="not is_edit" style="float:right;">
-      <a href="javascript:void($('#refworks,.metadata_table').toggle());">Import RefWorks/RIS citation</a>
+      <a href="javascript:void($('#refworks,.metadata_table').toggle());">Import RIS</a>
     </div>
     <h2>${title}</h2>
 
@@ -53,8 +53,7 @@
       <p>
 	<input py:if="not is_edit" type="submit" value="Add URL"/>
 	<input py:if="is_edit" type="submit" value="Update URL"/>
-	${go_back_link('../meta')}
-      </p>
+	${go_back_link()}</p>
     </form>
 </body>
 </html>

Modified: servres/trunk/conifer/templates/site_join.xhtml
===================================================================
--- servres/trunk/conifer/templates/site_join.xhtml	2010-12-29 15:42:57 UTC (rev 1146)
+++ servres/trunk/conifer/templates/site_join.xhtml	2010-12-29 15:43:00 UTC (rev 1147)
@@ -14,7 +14,7 @@
     <h2>${title}</h2>
 
     <p>If you choose to join this site, it will be added to your "My
-    Sites" list.</p>
+    Reserves" list.</p>
     <form action="." method="POST">
       <p><input type="submit" value="Yes, join this site"/> ${go_back_link()}</p>
     </form>    



More information about the open-ils-commits mailing list