From 746471f5a90573b6a79613065a913462163aaaa3 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Wed, 25 Jan 2012 14:17:37 -0500 Subject: [PATCH] kpac : template-ifying Signed-off-by: Bill Erickson --- Open-ILS/examples/kpac.xml | 9 ++++++--- Open-ILS/src/templates/kpac/category.tt2 | 15 +++------------ Open-ILS/src/templates/kpac/parts/grid.tt2 | 16 +++++++++------- Open-ILS/src/templates/kpac/parts/subpage.tt2 | 1 - 4 files changed, 18 insertions(+), 23 deletions(-) diff --git a/Open-ILS/examples/kpac.xml b/Open-ILS/examples/kpac.xml index 0360d4592c..92182e1087 100644 --- a/Open-ILS/examples/kpac.xml +++ b/Open-ILS/examples/kpac.xml @@ -23,9 +23,12 @@ - + su:mammal audience(j) + su:mammal audience(j) + su:mammal audience(j) + su:mammal audience(j) + su:mammal audience(j) + su:mammal audience(j) diff --git a/Open-ILS/src/templates/kpac/category.tt2 b/Open-ILS/src/templates/kpac/category.tt2 index 3ffc210c05..eab0e2df15 100644 --- a/Open-ILS/src/templates/kpac/category.tt2 +++ b/Open-ILS/src/templates/kpac/category.tt2 @@ -1,4 +1,6 @@ [% + PROCESS "opac/parts/header.tt2"; + PROCESS "kpac/parts/grid.tt2"; WRAPPER "kpac/parts/subpage.tt2"; ctx.page_title = l("Sub Page"); %] @@ -6,18 +8,7 @@

Living Creatures

 
- - - - - - - - - - - -
Book Series this is more test textCurrent EventsBook Series
Book SeriesBook SeriesBook Series
+ [% render_kpac_grid(ctx.kpac_config.pages.page.10); %]