When using the summary as part of the line item detail display,
authordjfiander <djfiander@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 23 Feb 2008 19:24:56 +0000 (19:24 +0000)
committerdjfiander <djfiander@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 23 Feb 2008 19:24:56 +0000 (19:24 +0000)
make the PO number a backlink to return to the full PO display.

git-svn-id: svn://svn.open-ils.org/ILS/branches/acq-experiment@8831 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/po/po_summary.html

index 66ad3b7..0bd3465 100644 (file)
@@ -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()}