[open-ils-commits] r8831 - 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:55:47 EST 2008


Author: djfiander
Date: 2008-02-23 14:24:56 -0500 (Sat, 23 Feb 2008)
New Revision: 8831

Modified:
   branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/po/po_summary.html
Log:
When using the summary as part of the line item detail display,
make the PO number a backlink to return to the full PO display.


Modified: 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-02-23 01:34:49 UTC (rev 8830)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/po/po_summary.html	2008-02-23 19:24:56 UTC (rev 8831)
@@ -1,5 +1,11 @@
 <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()}



More information about the open-ils-commits mailing list