[open-ils-commits] r8411 - in
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb:
public/oils/media/css/skin/default
public/oils/media/css/theme/default templates/oils/default/acq
templates/oils/default/acq/picklist
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Jan 17 16:58:56 EST 2008
Author: erickson
Date: 2008-01-17 16:33:13 -0500 (Thu, 17 Jan 2008)
New Revision: 8411
Modified:
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/public/oils/media/css/skin/default/acq.css
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/public/oils/media/css/theme/default/acq.css
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/navigate.html
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/picklist/view.html
Log:
displaying some picklist metadata. point title links at entry details page
Modified: branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/public/oils/media/css/skin/default/acq.css
===================================================================
--- branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/public/oils/media/css/skin/default/acq.css 2008-01-17 21:31:31 UTC (rev 8410)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/public/oils/media/css/skin/default/acq.css 2008-01-17 21:33:13 UTC (rev 8411)
@@ -24,7 +24,7 @@
#oils-acq-search-fields-submit-block { margin: 5px; text-align: center;}
/* bib search results / picklist builder interface */
-#oils-acq-pl_builder-table { width: 100%; }
+#oils-acq-picklist-header { padding: 4px; margin-bottom: 20px; }
.oils-acq-picklist-records-jacket-td { width: 46px; }
.oils-acq-picklist-records-jacket { width: 42px; height: 54px; padding-left: 0px; }
.oils-acq-picklist-records-title-row {}
Modified: branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/public/oils/media/css/theme/default/acq.css
===================================================================
--- branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/public/oils/media/css/theme/default/acq.css 2008-01-17 21:31:31 UTC (rev 8410)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/public/oils/media/css/theme/default/acq.css 2008-01-17 21:33:13 UTC (rev 8411)
@@ -11,8 +11,9 @@
#oils-acq-search-subsources-label { font-weight: bold; }
#oils-acq-search-fields-submit-block { border: 2px solid #A1A1A1; }
-#oils-acq-pl_builder-table thead td { font-weight: bold; }
-/* #oils-acq-pl_builder-table tr { border-bottom: 1px solid #808080;} */
+#oils-acq-picklist-header {border: 1px solid #85C777;}
+#oils-acq-picklist-name { font-weight: bold; font-style: italic; }
+.oils-acq-picklist-attributes { font-size: 90%; margin-left: 15px;}
.oils-acq-picklist-records-phys_desc-row { border-bottom: 1px solid #6BA160; }
.oils-acq-picklist-picklist-td { border-style: solid; border-color: #A1A1A1; border-width: 0px 1px 0px 1px; }
.oils-acq-picklist-records-service-td { font-size: 85%; }
Modified: branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/navigate.html
===================================================================
--- branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/navigate.html 2008-01-17 21:31:31 UTC (rev 8410)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/navigate.html 2008-01-17 21:33:13 UTC (rev 8411)
@@ -1,3 +1,3 @@
-<span><a href='index'>${_('Acquisitions Home')}</a></span>
-<span><a href='search'>${_('Bib Search')}</a></span>
+<span><a href='${c.oils.core.prefix}/acq/base/index'>${_('Acquisitions Home')}</a></span>
+<span><a href='${c.oils.core.prefix}/acq/picklist/search'>${_('Bib Search')}</a></span>
Modified: branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/picklist/view.html
===================================================================
--- branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/picklist/view.html 2008-01-17 21:31:31 UTC (rev 8410)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/picklist/view.html 2008-01-17 21:33:13 UTC (rev 8411)
@@ -1,7 +1,19 @@
-# -*- coding: utf-8 -*-
<%inherit file='../base.html'/>
<%def name="page_title()">${_('Evergreen ACQ Picklist')}</%def>
<%def name="block_content()">
+
+<div id='oils-acq-picklist-header'>
+ ${_('Picklist')} <span id='oils-acq-picklist-name'>${c.oils.acq.picklist.name()}</span>
+ <div class='oils-acq-picklist-attributes'>
+ <%
+ meta = _("Create date %(date)s") % {"date":c.oils.acq.picklist.create_time()}
+ meta2 = _("Last update time %(date)s") % {"date":c.oils.acq.picklist.edit_time()}
+ %>
+ <div>${meta}</div>
+ <div>${meta2}</div>
+ </div>
+</div>
+
<table id='oils-acq-picklist-table'>
% for entry in c.oils.acq.picklist.entries():
<tr class='oils-acq-picklist-records-title-row'>
@@ -12,7 +24,11 @@
<td>
<a href='../view_entry/${entry.id()}'>${c.oils.acq.find_entry_attr(entry, "title")}</a>
</td>
- <td class='oils-acq-picklist-records-service-td'>${entry.provider()}</td>
+ <td class='oils-acq-picklist-records-service-td'>
+ % if entry.provider():
+ ${entry.provider().name()}
+ % endif
+ </td>
</tr>
</tr>
More information about the open-ils-commits
mailing list