[open-ils-commits] r8419 -
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/picklist
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Jan 18 11:20:40 EST 2008
Author: erickson
Date: 2008-01-18 10:54:51 -0500 (Fri, 18 Jan 2008)
New Revision: 8419
Added:
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/picklist/picklist_entry_summary.html
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/picklist/picklist_summary.html
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/picklist/view_entry.html
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/picklist/view_list.html
Log:
forgot to add these new files from last 2 web commits...
Added: branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/picklist/picklist_entry_summary.html
===================================================================
--- branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/picklist/picklist_entry_summary.html (rev 0)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/picklist/picklist_entry_summary.html 2008-01-18 15:54:51 UTC (rev 8419)
@@ -0,0 +1,18 @@
+<div id='oils-acq-picklist-entry-header'>
+ ${_('Picklist Entry')}
+ <div class='oils-acq-picklist-entry-attributes'>
+ <%
+ meta = _("Source %(data)s") % {"data":c.oils.acq.picklist_entry.source_label()}
+ meta2 = _("Provider %(data)s") % {"data":c.oils.acq.picklist_entry.provider().name()}
+ meta3 = _("Create date %(data)s") % {"data":c.oils.acq.picklist_entry.create_time()}
+ meta4 = _("Last update time %(data)s") % {"data":c.oils.acq.picklist_entry.edit_time()}
+ %>
+ <div>${meta}</div>
+ <div>${meta2}</div>
+ <div>${meta3}</div>
+ <div>${meta4}</div>
+ </div>
+</div>
+
+
+
Added: branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/picklist/picklist_summary.html
===================================================================
--- branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/picklist/picklist_summary.html (rev 0)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/picklist/picklist_summary.html 2008-01-18 15:54:51 UTC (rev 8419)
@@ -0,0 +1,12 @@
+<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>
+
Added: branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/picklist/view_entry.html
===================================================================
--- branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/picklist/view_entry.html (rev 0)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/picklist/view_entry.html 2008-01-18 15:54:51 UTC (rev 8419)
@@ -0,0 +1,28 @@
+# -*- coding: utf-8 -*-
+<%inherit file='../base.html'/>
+<%def name="page_title()">${_('Evergreen Picklist Entry')}</%def>
+<%def name="block_content()">
+
+<%include file='picklist_summary.html'/>
+<%include file='picklist_entry_summary.html'/>
+<table id='oils-acq-picklist-entry-summary'>
+ % for attr in c.oils.acq.picklist_entry.attributes():
+ <tr>
+ <td class='oils-acq-picklist-entry-attr-name'>
+ ${attr.attr_name()}
+ </td>
+ <td class='oils-acq-picklist-entry-attr-value'>
+ ${attr.attr_value()}
+ </td>
+ </tr>
+ % endfor
+</table>
+
+<div id='oils-acq-picklist-entry-marc-block'>
+ <div id='oils-acq-picklist-entry-marc'>
+ ${unicode(c.oils.acq.picklist_entry_marc_html, 'utf-8')}
+ </div>
+</div>
+
+</%def>
+
Added: branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/picklist/view_list.html
===================================================================
--- branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/picklist/view_list.html (rev 0)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/picklist/view_list.html 2008-01-18 15:54:51 UTC (rev 8419)
@@ -0,0 +1,26 @@
+# -*- coding: utf-8 -*-
+<%inherit file='../base.html'/>
+<%def name="page_title()">${_('Evergreen My Picklists')}</%def>
+<%def name="block_content()">
+
+<h3>${_('My Picklists')}</h3>
+
+<table id='oils-acq-picklist-list-table'>
+ <thead>
+ <tr>
+ <td>${_('Name')}</td>
+ <td>${_('Create Time')}</td>
+ <td>${_('Edit Time')}</td>
+ </tr>
+ </thead>
+ <tbody>
+ % for picklist in c.oils.acq.picklist_list:
+ <tr>
+ <td><a href='${c.oils.acq.prefix}/picklist/view/${picklist.id()}'>${picklist.name()}</a></td>
+ <td>${picklist.create_time()}</td>
+ <td>${picklist.edit_time()}</td>
+ </tr>
+ % endfor
+ </tbody>
+</table>
+</%def>
More information about the open-ils-commits
mailing list