[open-ils-commits] r8832 -
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/po
svn at svn.open-ils.org
svn at svn.open-ils.org
Sat Feb 23 14:56:47 EST 2008
Author: djfiander
Date: 2008-02-23 14:25:56 -0500 (Sat, 23 Feb 2008)
New Revision: 8832
Modified:
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/view_po.html
Log:
minor cleanups
Modified: 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-02-23 19:24:56 UTC (rev 8831)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/po/po_li_summary.html 2008-02-23 19:25:56 UTC (rev 8832)
@@ -2,8 +2,10 @@
${_('Purchase Order Line Item')}
<div class='oils-acq-po-li-attributes'>
<%
- ctime = _("Create date %(data)s") % {"data":c.oils.acq.po_li.value.create_time()}
- etime = _("Last update time %(data)s") % {"data":c.oils.acq.po_li.value.edit_time()}
+ 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>
@@ -13,8 +15,6 @@
<%
import oilsweb.lib.bib
from oilsweb.lib.acq.po_manager import PO_Manager
-
- li = c.oils.acq.po_li.value
%>
<tr class='oils-acq-po-records-title-row'>
@@ -22,7 +22,7 @@
<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>
+ <td>${PO_Manager.find_li_attr(li, "title")}</td>
</tr>
<tr class='oils-acq-po-records-author-row'>
@@ -36,7 +36,6 @@
</td>
<td>${PO_Manager.find_li_attr(li, "price")}</td>
</tr>
-
</table>
</div>
</div>
Modified: branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/po/view_po.html
===================================================================
--- branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/po/view_po.html 2008-02-23 19:24:56 UTC (rev 8831)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/po/view_po.html 2008-02-23 19:25:56 UTC (rev 8832)
@@ -23,6 +23,7 @@
</td>
</tr></table>
</td></tr>
+ <tr><td colspan="2">Item</td><td># of Copies</td><td>Select</td>
</thead>
<tbody>
<%
@@ -38,6 +39,7 @@
<td>
<a href='../view_lineitem/${li.id()}'>${PO_Manager.find_li_attr(li, "title")}</a>
</td>
+ <td>${li.item_count()}</td>
<td><input type='checkbox' name='${c.oils.acq.po_li_id_list.cgi_name}' value='${li.id()}'/></td>
</tr>
@@ -55,8 +57,6 @@
</tr>
% endfor
</tbody>
- <tr><th>
</table>
-<input type="submit" value="">
</form>
</%def>
More information about the open-ils-commits
mailing list