[open-ils-commits] r9420 -
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Apr 21 21:37:33 EDT 2008
Author: erickson
Date: 2008-04-21 20:58:31 -0400 (Mon, 21 Apr 2008)
New Revision: 9420
Modified:
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/view_funding_source.html
Log:
returning the fund as an href which links to view fund page
Modified: branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/view_funding_source.html
===================================================================
--- branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/view_funding_source.html 2008-04-22 00:58:09 UTC (rev 9419)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/view_funding_source.html 2008-04-22 00:58:31 UTC (rev 9420)
@@ -76,7 +76,8 @@
req.send();
fundCache[fundId] = req.recv().content();
}
- return fundCache[fundId].name()
+ var name = fundCache[fundId].name();
+ return '<a href="${c.oils.acq.prefix.value}/fund/view/'+fundId+'">'+name+'</a>';
}
/** builds the credits grid ----- */
@@ -98,7 +99,7 @@
fsCreditGrid.isLoaded = true;
}
- /** builds the credits grid ----- */
+ /** builds the allocations grid ----- */
function loadAllocationGrid() {
if(fsAllocationGrid.isLoaded) return;
var store = new dojo.data.ItemFileReadStore({data:acqfa.toStoreData(fundingSource.allocations())});
More information about the open-ils-commits
mailing list