[Koha-patches] [PATCH] template changes for OPAC display of patron attributes

Galen Charlton galen.charlton at liblime.com
Sat May 10 01:08:21 CEST 2008


---
 .../opac-tmpl/prog/en/modules/opac-userupdate.tmpl |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-userupdate.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-userupdate.tmpl
index 5983543..fc147a5 100644
--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-userupdate.tmpl
+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-userupdate.tmpl
@@ -68,6 +68,17 @@
 	<li><label for="categorycode">Patron Category:</label><input type="text" id="categorycode" disabled="disabled" readonly="readonly" value="<!-- TMPL_VAR NAME="categorycode" -->" /></li>
 	<li><label for="dateenrolled">Joined: </label><input type="text" id="dateenrolled" disabled="disabled" readonly="readonly" value="<!-- TMPL_VAR NAME="dateenrolled" -->" /></li>
 	<li><label for="dateexpiry">Expires: </label><input type="text" id="dateexpiry" disabled="disabled" readonly="readonly" value="<!-- TMPL_VAR NAME="dateexpiry" -->" /></li>
+   <!-- TMPL_IF NAME="ExtendedPatronAttributes" -->
+    <!-- TMPL_LOOP NAME="patron_attributes" -->
+        <li><label><!-- TMPL_VAR NAME="description" --></label>
+        <!-- TMPL_IF NAME="value_description" -->
+            <input type="text"  disabled="disabled" readonly="readonly" value="<!-- TMPL_VAR NAME="value_description" -->" />
+        <!-- TMPL_ELSE -->
+            <input type="text"  disabled="disabled" readonly="readonly" value="<!-- TMPL_VAR NAME="value" -->" />
+        <!-- /TMPL_IF -->
+        </li>
+    <!-- /TMPL_LOOP -->
+   <!-- /TMPL_IF  -->
 </ol>
 </fieldset>
 <fieldset class="action">
-- 
1.5.5.rc0.16.g02b00




More information about the Koha-patches mailing list