[open-ils-commits] SPAM: r10007 - in
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq:
financial picklist po
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Jul 9 17:23:15 EDT 2008
Author: erickson
Date: 2008-07-09 17:23:11 -0400 (Wed, 09 Jul 2008)
New Revision: 10007
Removed:
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/create_fund.html
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/create_fund_allocation.html
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/create_funding_source.html
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/create_funding_source_credit.html
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/create_provider.html
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/picklist/lineitem_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_lineitem.html
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/po/create.html
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/po/po_li_summary.html
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/po/po_summary.html
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/po/view_lineitem.html
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/po/view_po_list.html
Log:
removing old templates which have now been replaced by dojo code in other templates
Deleted: branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/create_fund.html
===================================================================
--- branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/create_fund.html 2008-07-09 21:01:02 UTC (rev 10006)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/create_fund.html 2008-07-09 21:23:11 UTC (rev 10007)
@@ -1,53 +0,0 @@
-# -*- coding: utf-8 -*-
-<!-- vim:set filetype=mako: -->
-<%inherit file='base.html'/>
-<%namespace file='../../common/widgets.html' name='widget'/>
-<%def name="page_title()">${_('Create Fund')}</%def>
-<%def name="block_content()">
-
-<% from oils.org import OrgUtil %>
-
-<form action='${c.oils.acq.prefix.value}/fund/create' method='POST'>
- <table class='oils-admin-table'>
- <tbody>
- <tr>
- <td class='oils-admin-label'>${_('Fund Name')}</td>
- <td>
- <input type='text' size='42' name='${c.oils.acq.fund_name.cgi_name}'/>
- </td>
- </tr>
- <tr>
- <td class='oils-admin-label'>${_('Fund Owner')}</td>
- <td>
- ${widget.org_select(
- c.oils.acq.fund_org.cgi_name,
- c.oils.core.perm_tree.value['ADMIN_FUND'], c.oils.core.workstation.value.id(),
- OrgUtil.get_min_depth(c.oils.core.high_perm_orgs.value['ADMIN_FUND']))}
- </td>
- </tr>
- <tr>
- <td class='oils-admin-label'>${_('Fund Currency Type')}</td>
- <td>
- <select name='${c.oils.acq.fund_currency_type.cgi_name}'>
- % for type in c.oils.acq.currency_types.value:
- <option value='${type.code()}'>${type.label()}</option>
- % endfor
- </select>
- </td>
- </tr>
- <tr>
- <td class='oils-admin-label'>${_('Fund Year')}</td>
- <td>
- <input type='text' size='42' name='${c.oils.acq.fund_year.cgi_name}'/>
- </td>
- </tr>
-
- <tr>
- <td colspan='2'>
- <input type='submit' value='${_("Create Fund")}'/>
- </td>
- </tr>
- </tbody>
- </table>
-</form>
-</%def>
Deleted: branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/create_fund_allocation.html
===================================================================
--- branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/create_fund_allocation.html 2008-07-09 21:01:02 UTC (rev 10006)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/create_fund_allocation.html 2008-07-09 21:23:11 UTC (rev 10007)
@@ -1,56 +0,0 @@
-# -*- coding: utf-8 -*-
-<!-- vim:set filetype=mako: -->
-<%inherit file='base.html'/>
-<%namespace file='../../common/widgets.html' name='widget'/>
-<%def name="page_title()">${_('Create Funding Allocation')}</%def>
-<%def name="block_content()">
-
-<form action='${c.oils.acq.prefix.value}/fund/allocate' method='POST'>
- <table class='oils-admin-table'>
- <tbody>
- <tr>
- <td class='oils-admin-label'>${_('Fund')}</td>
- <td>
- <input type='hidden' name='${c.oils.acq.fund_allocation_fund.cgi_name}' value='${c.oils.acq.fund_id.value}'/>
- <span>${c.oils.acq.fund.value.name()}</span>
- <span>${c.oils.acq.fund.value.org().shortname()}</span>
- </td>
- </tr>
- <tr>
- <td class='oils-admin-label'>${_('Funding Source')}</td>
- <td>
- <select name='${c.oils.acq.fund_allocation_source.cgi_name}'>
- % for source in c.oils.acq.funding_source_list.value:
- <% source_label = _('%(name)s (balance = %(b)s)') % {'name':source.name(), 'b': source.summary()['balance']} %>
- <option value='${source.id()}'>${source_label}</option>
- % endfor
- </select>
- </td>
- </tr>
- <tr>
- <td class='oils-admin-label'>${_('Allocation Amount')}</td>
- <td>
- <input type='text' size='12' name='${c.oils.acq.fund_allocation_amount.cgi_name}'/>
- </td>
- </tr>
- <tr>
- <td class='oils-admin-label'>${_('Allocation Percent')}</td>
- <td>
- <input type='text' size='4' name='${c.oils.acq.fund_allocation_percent.cgi_name}'/>
- </td>
- </tr>
- <tr>
- <td class='oils-admin-label'>${_('Note')}</td>
- <td>
- <textarea name='${c.oils.acq.fund_allocation_note.cgi_name}'> </textarea>
- </td>
- </tr>
- <tr>
- <td colspan='2'>
- <input type='submit' value='${_("Allocate Funds")}'/>
- </td>
- </tr>
- </tbody>
- </table>
-</form>
-</%def>
Deleted: branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/create_funding_source.html
===================================================================
--- branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/create_funding_source.html 2008-07-09 21:01:02 UTC (rev 10006)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/create_funding_source.html 2008-07-09 21:23:11 UTC (rev 10007)
@@ -1,46 +0,0 @@
-# -*- coding: utf-8 -*-
-<!-- vim:set filetype=mako: -->
-<%inherit file='base.html'/>
-<%namespace file='../../common/widgets.html' name='widget'/>
-<%def name="page_title()">${_('Create Funding Source')}</%def>
-<%def name="block_content()">
-
-<% from oils.org import OrgUtil %>
-
-<form action='${c.oils.acq.prefix.value}/funding_source/create' method='POST'>
- <table class='oils-admin-table'>
- <tbody>
- <tr>
- <td class='oils-admin-label'>${_('Funding Source Name')}</td>
- <td>
- <input type='text' size='42' name='${c.oils.acq.funding_source_name.cgi_name}'/>
- </td>
- </tr>
- <tr>
- <td class='oils-admin-label'>${_('Funding Source Owner')}</td>
- <td>
- ${widget.org_select(
- c.oils.acq.funding_source_owner.cgi_name,
- c.oils.core.perm_tree.value['CREATE_FUNDING_SOURCE'], c.oils.core.workstation.value.id(),
- OrgUtil.get_min_depth(c.oils.core.high_perm_orgs.value['CREATE_FUNDING_SOURCE']))}
- </td>
- </tr>
- <tr>
- <td class='oils-admin-label'>${_('Funding Source Currency Type')}</td>
- <td>
- <select name='${c.oils.acq.funding_source_currency_type.cgi_name}'>
- % for type in c.oils.acq.currency_types.value:
- <option value='${type.code()}'>${type.label()}</option>
- % endfor
- </select>
- </td>
- </tr>
- <tr>
- <td colspan='2'>
- <input type='submit' value='${_("Create Funding Source")}'/>
- </td>
- </tr>
- </tbody>
- </table>
-</form>
-</%def>
Deleted: branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/create_funding_source_credit.html
===================================================================
--- branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/create_funding_source_credit.html 2008-07-09 21:01:02 UTC (rev 10006)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/create_funding_source_credit.html 2008-07-09 21:23:11 UTC (rev 10007)
@@ -1,41 +0,0 @@
-# -*- coding: utf-8 -*-
-<!--
- vim:ft=mako:
--->
-<%inherit file='base.html'/>
-<%namespace file='../common/widgets.html' name='widget'/>
-<%def name="page_title()">${_('Create Funding Source Credit')}</%def>
-<%def name="block_content()">
-
-<% source = c.oils.acq.funding_source.value %>
-
-<form action='${c.oils.acq.prefix.value}/funding_source/create_credit' method='POST'>
- <input type='hidden' name='${c.oils.acq.funding_source_id.cgi_name}' value='${source.id()}'/>
- <table class='oils-admin-table'>
- <tbody>
- <tr>
- <td class='oils-admin-label'>${_('Funding Source')}</td>
- <%
- label = _('%(name)s (%(owner)s)') % {'name':source.name(), 'owner':source.owner().shortname()}
- %>
- <td>${label}</td>
- </tr>
- <tr>
- <td class='oils-admin-label'>${_('Amount')}</td>
- <td><input type='text' size='8' name='${c.oils.acq.funding_source_credit_amount.cgi_name}'/></td>
- </tr>
- <tr>
- <td class='oils-admin-label'>${_('Note')}</td>
- <td>
- <textarea name='${c.oils.acq.funding_source_credit_note.cgi_name}'> </textarea>
- </td>
- </tr>
- <tr>
- <td colspan='2'>
- <input type='submit' value='${_("Create Funding Source Credit")}'/>
- </td>
- </tr>
- </tbody>
- </table>
-</form>
-</%def>
Deleted: branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/create_provider.html
===================================================================
--- branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/create_provider.html 2008-07-09 21:01:02 UTC (rev 10006)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/create_provider.html 2008-07-09 21:23:11 UTC (rev 10007)
@@ -1,46 +0,0 @@
-# -*- coding: utf-8 -*-
-<!-- vim:set filetype=mako: -->
-<%inherit file='base.html'/>
-<%namespace file='../../common/widgets.html' name='widget'/>
-<%def name="page_title()">${_('Create Provider')}</%def>
-<%def name="block_content()">
-
-<% from oils.org import OrgUtil %>
-
-<form action='${c.oils.acq.prefix.value}/provider/create' method='POST'>
- <table class='oils-admin-table'>
- <tbody>
- <tr>
- <td class='oils-admin-label'>${_('Provider Name')}</td>
- <td>
- <input type='text' size='42' name='${c.oils.acq.provider_name.cgi_name}'/>
- </td>
- </tr>
- <tr>
- <td class='oils-admin-label'>${_('Provider Owner')}</td>
- <td>
- ${widget.org_select(
- c.oils.acq.provider_owner.cgi_name,
- c.oils.core.perm_tree.value['ADMIN_PROVIDER'], c.oils.core.workstation.value.id(),
- OrgUtil.get_min_depth(c.oils.core.high_perm_orgs.value['ADMIN_PROVIDER']))}
- </td>
- </tr>
- <tr>
- <td class='oils-admin-label'>${_('Provider Currency Type')}</td>
- <td>
- <select name='${c.oils.acq.provider_currency_type.cgi_name}'>
- % for type in c.oils.acq.currency_types.value:
- <option value='${type.code()}'>${type.label()}</option>
- % endfor
- </select>
- </td>
- </tr>
- <tr>
- <td colspan='2'>
- <input type='submit' value='${_("Create Provider")}'/>
- </td>
- </tr>
- </tbody>
- </table>
-</form>
-</%def>
Deleted: branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/picklist/lineitem_summary.html
===================================================================
--- branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/picklist/lineitem_summary.html 2008-07-09 21:01:02 UTC (rev 10006)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/picklist/lineitem_summary.html 2008-07-09 21:23:11 UTC (rev 10007)
@@ -1,47 +0,0 @@
-<%namespace file='../../common/widgets.html' name='widget' />
-<%
- from oilsweb.lib.acq.picklist import PicklistMgr
-%>
-<div id='oils-acq-lineitem-header'>
- ${PicklistMgr.find_lineitem_attr(c.oils.acq.lineitem.value, 'title')}
- <div class='oils-acq-lineitem-attributes'>
- <%
- provider_map = [(provider.id(), provider.name()) for provider in c.oils.acq.provider_list.value]
-
- provider = c.oils.acq.lineitem.value.provider()
- if provider:
- provider = provider.id()
- meta = _("Source %s") % c.oils.acq.lineitem.value.source_label()
- meta3 = _("Create date %s") % c.oils.acq.lineitem.value.create_time()
- meta4 = _("Last update time %s") % c.oils.acq.lineitem.value.edit_time()
- %>
- <div>${meta}</div>
- <div>${meta3}</div>
- <div>${meta4}</div>
- <div>
- <form method="post"
- action="${c.oils.acq.prefix.value}/picklist/update_lineitem">
- ${_("Provider")}
- ${widget.build_selector(c.oils.acq.provider_id.cgi_name, provider_map, provider)}
- <button name="${c.oils.acq.lineitem_id.cgi_name}"
- value="${c.oils.acq.lineitem.value.id()}">
- ${_("Update")}
- </button>
-
- </form>
- </div>
- <div>
- <form method="post"
- action="${c.oils.acq.prefix.value}/picklist/approve_lineitem">
-
- <button name="${c.oils.acq.lineitem_id.cgi_name}"
- value="${c.oils.acq.lineitem.value.id()}">
- ${_("Approve for Purchase")}
- </button>
- </form>
- </div>
- </div>
-</div>
-
-
-
Deleted: 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 2008-07-09 21:01:02 UTC (rev 10006)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/picklist/picklist_summary.html 2008-07-09 21:23:11 UTC (rev 10007)
@@ -1,24 +0,0 @@
-<%def name='summary(picklist, link=False)'>
- <div id='oils-acq-picklist-header'>
- ${_('Picklist')}
- <span id='oils-acq-picklist-name'>
- %if link:
- <A href="${c.oils.acq.prefix.value}/picklist/view/${picklist.id()}">
- %endif
- ${picklist.name()}
- %if link:
- </A>
- %endif
- </span>
- <div class='oils-acq-picklist-attributes'>
- <%
- meta = _("Create date: %(date)s") % {"date":picklist.create_time()}
- meta2 = _("Last updated: %(date)s") % {"date":picklist.edit_time()}
- meta3 = _("Selector: %(owner)s") % {"owner":picklist.owner()}
- %>
- <div>${meta}</div>
- <div>${meta2}</div>
- <div>${meta3}</div>
- </div>
- </div>
-</%def>
Deleted: branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/picklist/view_lineitem.html
===================================================================
--- branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/picklist/view_lineitem.html 2008-07-09 21:01:02 UTC (rev 10006)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/picklist/view_lineitem.html 2008-07-09 21:23:11 UTC (rev 10007)
@@ -1,70 +0,0 @@
-# -*- coding: utf-8 -*-
-<%inherit file='../base.html'/>
-<%namespace file='../../common/widgets.html' name='widget' />
-<%namespace file='picklist_summary.html' name='picklist' />
-
-<%def name="page_title()">${_('Evergreen Picklist Entry')}</%def>
-<%def name="block_content()">
-
-<%
- fund_map = [(fund.id(), fund.name()) for fund in c.oils.acq.fund_list.value]
- def sort_lid(a, b):
- return cmp(a.id(), b.id())
-%>
-
-${picklist.summary(c.oils.acq.picklist.value, link=True)}
-
-<%include file='lineitem_summary.html'/>
-
-<table id='oils-acq-lineitem-summary'>
- % for attr in c.oils.acq.lineitem.value.attributes():
- % if attr.attr_name() != 'title':
- <tr>
- <td class='oils-acq-lineitem-attr-name'>
- ${attr.attr_name()}
- </td>
- <td class='oils-acq-lineitem-attr-value'>
- ${attr.attr_value()}
- </td>
- </tr>
- % endif
- % endfor
-</table>
-
-<table id="oils-acq-lineitem-details-table">
- <thead>
- <tr><td>ID</td><td>Fund</td><td>Home Library</td></tr>
- </thead>
- <tbody>
- ${c.oils.acq.lineitem.value.lineitem_details().sort(sort_lid)}
- % for detail in c.oils.acq.lineitem.value.lineitem_details():
- <tr>
- <td>${detail.id()}</td>
- <td>
- <form dojoType="dijit.form.Form" method="post"
- action="${c.oils.acq.prefix.value}/picklist/update_lineitem">
- <input type="hidden"
- name="${c.oils.acq.lineitem_id.cgi_name}"
- value="${c.oils.acq.lineitem.value.id()}" />
- <input type="hidden"
- name="${c.oils.acq.lineitem_detail_id.cgi_name}"
- value="${detail.id()}">
- ${widget.build_selector(c.oils.acq.fund_id.cgi_name, fund_map, detail.fund())}
- <button type="submit" dojoType="dijit.form.Button">${_("Update")}</button>
- </form>
- </td>
- <td>${detail.owning_lib() or 'None'}</td>
- <td>
- </td>
- </tr>
- % endfor
- </tbody>
-</table>
-<div id='oils-acq-lineitem-marc-block'>
- <div id='oils-acq-lineitem-marc'>
- ${unicode(c.oils.acq.lineitem_marc_html.value, 'utf-8')}
- </div>
-</div>
-
-</%def>
-
Deleted: branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/po/create.html
===================================================================
--- branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/po/create.html 2008-07-09 21:01:02 UTC (rev 10006)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/po/create.html 2008-07-09 21:23:11 UTC (rev 10007)
@@ -1,27 +0,0 @@
-# -*- coding: utf-8 -*-
-<!-- vim:set filetype=mako: -->
-<%inherit file='../base.html'/>
-<%def name="page_title()">${_('Create Purchase Order')}</%def>
-<%def name="block_content()">
-<form action="${c.oils.acq.prefix.value}/po/create" method="POST">
- <select name="${c.oils.acq.picklist_source_id.cgi_name}">
- <option selected='selected' value="">${_('-- Select A Picklist --')}</option>
- % for pl in c.oils.acq.picklist_list.value:
- <option value='${pl.id()}'>${pl.name()}</option>
- % endfor
- </select>
- <select name="${c.oils.acq.fund_id.cgi_name}">
- <option selected='selected' value="">${_('-- Default Fund --')}</option>
- % for fund in c.oils.acq.fund_list.value:
- <option value="${fund.id()}">${fund.name()}</option>
- % endfor
- </select>
- <select name="${c.oils.acq.provider_id.cgi_name}">
- <option selected='selected' value="">${_('-- Select A Provider --')}</option>
- % for provider in c.oils.acq.provider_list.value:
- <option value="${provider.id()}">${provider.name()}</option>
- % endfor
- </select>
- <input type="submit" value="Create">
-</form>
-</%def>
Deleted: branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/po/po_li_summary.html
===================================================================
--- branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/po/po_li_summary.html 2008-07-09 21:01:02 UTC (rev 10006)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/po/po_li_summary.html 2008-07-09 21:23:11 UTC (rev 10007)
@@ -1,41 +0,0 @@
-<div id='oils-acq-po-li-header'>
- ${_('Purchase Order Line Item')}
- <div class='oils-acq-po-li-attributes'>
- <%
- li = c.oils.acq.po_li.value
-
- ctime = _("Create date %(data)s") % {"data":li.create_time()}
- etime = _("Last update time %(data)s") % {"data":li.edit_time()}
- %>
- <div>${ctime}</div>
- <div>${etime}</div>
- </div>
- <div>
- <table>
- <%
- import oilsweb.lib.bib
- from oilsweb.lib.acq.po_manager import PO_Manager
-%>
-
- <tr class='oils-acq-po-records-title-row'>
- <td rowspan='3'>
- <img class='oils-acq-po-records-jacket'
- src='${c.oils.core.ac_prefix.value}/jacket/small/${oilsweb.lib.bib.scrub_isbn(PO_Manager.find_li_attr(li, "isbn"))}'/>
- </td>
- <td>${PO_Manager.find_li_attr(li, "title")}</td>
- </tr>
-
- <tr class='oils-acq-po-records-author-row'>
- <td colspan='4'>${PO_Manager.find_li_attr(li, "author")}
- </tr>
- <tr class='oils-acq-po-records-phys_desc-row'>
- <td colspan='3'>
- ${PO_Manager.find_li_attr(li, "isbn")} |
- ${PO_Manager.find_li_attr(li, "pubdate")} |
- ${PO_Manager.find_li_attr(li, "pagination")}
- </td>
- <td>${PO_Manager.find_li_attr(li, "price")}</td>
- </tr>
- </table>
- </div>
-</div>
Deleted: branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/po/po_summary.html
===================================================================
--- branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/po/po_summary.html 2008-07-09 21:01:02 UTC (rev 10006)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/po/po_summary.html 2008-07-09 21:23:11 UTC (rev 10007)
@@ -1,19 +0,0 @@
-<div id='oils-acq-po-header'>
- % if c.oils.acq.po_li.value:
- <a href="../view/${c.oils.acq.po.value.id()}">
- % endif
- ${_('Purchase Order')} <span id="oils-acq-po-name">${c.oils.acq.po.value.id()}</span>
- % if c.oils.acq.po_li_sum:
- </a>
- % endif
- <div class='oils-acq-po-attributes'>
- <%
- meta = _("Create date %(date)s") % {"date":c.oils.acq.po.value.create_time()}
- meta2 = _("Last updated %(date)s") % {"date":c.oils.acq.po.value.edit_time()}
- meta3 = _("Provider: %(provider)s") % {"provider":c.oils.acq.provider.value.name()}
- %>
- <div>${meta}</div>
- <div>${meta2}</div>
- <div>${meta3}</div>
- </div>
-</div>
Deleted: branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/po/view_lineitem.html
===================================================================
--- branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/po/view_lineitem.html 2008-07-09 21:01:02 UTC (rev 10006)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/po/view_lineitem.html 2008-07-09 21:23:11 UTC (rev 10007)
@@ -1,28 +0,0 @@
-# -*- coding: utf-8 -*-
-<%inherit file='../base.html' />
-<%namespace file='../../common/widgets.html' name='widget' />
-
-<%def name='page_title()'>${_('Evergreen View PO')}</%def>
-<%def name='block_content()'>
-
-<%include file='po_summary.html' />
-<%include file='po_li_summary.html' />
-
-<%
- from oilsweb.lib.acq.po_manager import PO_Manager
-%>
-
-<table id="oils-acq-po-li-details-table">
- <Thead>
- <tr><td>Fund</td><td># of Copies</td></tr>
- </thead>
- <tbody>
- % for fund, count in c.oils.acq.po_li_sum.value.iteritems():
- <tr class="oils-acq-po-li-detail-row">
- <td>${fund}</td><td>${count}</td>
- </tr>
- % endfor
- </tbody>
-</table>
-
-</%def>
Deleted: branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/po/view_po_list.html
===================================================================
--- branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/po/view_po_list.html 2008-07-09 21:01:02 UTC (rev 10006)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/po/view_po_list.html 2008-07-09 21:23:11 UTC (rev 10007)
@@ -1,39 +0,0 @@
-# -*- coding: utf-8 -*-
-<%inherit file='../base.html'/>
-<%def name="page_title()">${_('Evergreen My Purchase Orders')}</%def>
-<%def name="block_content()">
-
-<div id='oils-acq-list-header' class='container'>
- <div id='oils-acq-list-header-label'>${_('My Purchase Orders')}</div>
- <div id='oils-acq-list-header-actions'>
- <a href="${c.oils.acq.prefix.value}/po/listall">${_('View All POs')}</a>
- <a href='${c.oils.acq.prefix.value}/po/create'>${_('New PO')}</a>
- </div>
-</div>
-
-<table id='oils-acq-po-list-table'>
- <thead>
- <tr>
- <td>${_('ID')}</td>
- <td>${_('Provider')}</td>
- <td>${_('Creation Date')}</td>
- <td>${_('Edit Date')}</td>
- <td>${_('Number of Entries')}</td>
- <td/>
- <td/>
- </tr>
- </thead>
- <tbody>
- % for po in c.oils.acq.po_list.value:
- <tr>
- <td><a href='${c.oils.acq.prefix.value}/po/view/${po.id()}'>${po.id()}</a></td>
- <td>${po.provider()}</td>
- <td>${po.create_time()}</td>
- <td>${po.edit_time()}</td>
- <td>${po.lineitem_count()}</td>
- <td><a href='${c.oils.acq.prefix.value}/po/delete/${po.id()}'>${_('Delete')}</a></td>
- </tr>
- % endfor
- </tbody>
-</table>
-</%def>
More information about the open-ils-commits
mailing list