Show
Ignore:
Timestamp:
04/21/08 17:11:25 (6 months ago)
Author:
erickson
Message:

began dojo-ification of fund view page. updated fund list page to use some new widgets and to match the funding_source page more closely

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/list_funding_sources.html

    r9411 r9416  
    11# -*- coding: utf-8 -*- 
    22<%inherit file='../base.html'/> 
    3 <%namespace file='../../common/widgets.html' name='widget'/> 
    43<%def name="page_title()">${_('Funding Sources')}</%def> 
    54<%def name="block_content()"> 
     
    87    <div id='oils-acq-list-header-label'>${_('Funding Sources')}</div> 
    98</div> 
    10  
    11 <script src='list_funding_sources.js'> </script> 
    129 
    1310<script type="text/javascript"> 
     
    114111            cells : [[ 
    115112                {name: '${_("ID")}', field: 'id'}, 
    116                 {name: '${_("Name")}', field: "name", width:'auto', get:getName},  
    117                 {name: '${_("Owner")}', field: "owner", width:'auto', get:getOrgInfo},  
     113                {name: '${_("Name")}', width:'auto', get:getName},  
     114                {name: '${_("Owner")}', width:'auto', get:getOrgInfo},  
    118115                {name: '${_("Currency Type")}', field: "currency_type"}, 
    119                 {name: '${_("Balance")}', field: "balance", get:getBalanceInfo} 
     116                {name: '${_("Balance")}', get:getBalanceInfo} 
    120117            ]] 
    121118        }]; 
     
    123120        openils.acq.FundingSource.createStore( 
    124121            function(storeData) { 
    125                 var store = new dojo.data.ItemFileWriteStore({data:storeData}); 
     122                var store = new dojo.data.ItemFileReadStore({data:storeData}); 
    126123                var model = new dojox.grid.data.DojoData(null, store,  
    127124                    {rowsPerPage: 20, clientSort: true, query:{id:'*'}});