Index: openacs-4/packages/scholarship-fund/www/one-fund.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/scholarship-fund/www/one-fund.tcl,v diff -u -N -r1.4 -r1.5 --- openacs-4/packages/scholarship-fund/www/one-fund.tcl 5 Aug 2005 03:35:11 -0000 1.4 +++ openacs-4/packages/scholarship-fund/www/one-fund.tcl 11 Aug 2005 01:10:49 -0000 1.5 @@ -40,32 +40,32 @@ db_1row get_fund "select sf.title, sf.description, sf.account_code, sf.amount from scholarship_fundi sf, cr_items ci where sf.revision_id=ci.live_revision and sf.item_id=:item_id" } -template::list::create \ - -name grants \ - -multirow grants \ - -no_data "No grants from this fund" \ - -actions [list Grant scholarship-grant?fund_id=$fund(fund_id) Grant] \ - -elements { - person__name { - label "User" - } - grant_date { - label "Date Granted" - } - grant_amount { - label "Amount" - } - } +# template::list::create \ +# -name grants \ +# -multirow grants \ +# -no_data "No grants from this fund" \ +# -actions [list Grant scholarship-grant?fund_id=$fund(fund_id) Grant] \ +# -elements { +# person__name { +# label "User" +# } +# grant_date { +# label "Date Granted" +# } +# grant_amount { +# label "Amount" +# } +# } -db_multirow grants grants { - select person__name(user_id), to_char(grant_date, 'Month dd, yyyy hh:miam') as grant_date, grant_amount - from scholarship_fund_grants - where fund_id in (select fund_id - from scholarship_fundi - where item_id = :item_id) - group by person__name, grant_date, grant_amount - order by scholarship_fund_grants.grant_date -} +# db_multirow grants grants { +# select person__name(user_id), to_char(grant_date, 'Month dd, yyyy hh:miam') as grant_date, grant_amount +# from scholarship_fund_grants +# where fund_id in (select fund_id +# from scholarship_fundi +# where item_id = :item_id) +# group by person__name, grant_date, grant_amount +# order by scholarship_fund_grants.grant_date +# } set page_title "One Scholarship Fund" set context [list $page_title]