[Koha-patches] [PATCH] Bug 3081 - The category code in the patron personal details page in opac showed the category code and not the description. This patch makes the description appear instead. Looking at both opac-userupdate.pl and opac-userupd

Joe Atzberger joe.atzberger at liblime.com
Mon May 4 18:53:24 CEST 2009


For large systems in particular, it may be important to show the code still,
perhaps in addition to the description.  Maybe stashing one or the other
parts in a title (i.e. display on mouseover) element would be enough.  It
also helps us on the support end, since we need the category code itself to
know what circ rules apply and otherwise benefit debugging.

-- 
Joe Atzberger
LibLime - Open Source Library Solutions

On Sun, May 3, 2009 at 12:23 AM, Garry Collum <gcollum at gmail.com> wrote:

> ---
>  .../opac-tmpl/prog/en/modules/opac-userupdate.tmpl |    2 +-
>  1 files changed, 1 insertions(+), 1 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 4cbd6c4..9d31769 100644
> --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-userupdate.tmpl
> +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-userupdate.tmpl
> @@ -112,7 +112,7 @@
>  <ol>
>        <li><label for="cardnumber">Card number:</label><input type="text"
> id="cardnumber" disabled="disabled" readonly="readonly" value="<!-- TMPL_VAR
> NAME="cardnumber" -->" /></li>
>        <li><label for="borrowernumber">Patron Number:</label><input
> type="text" id="borrowernumber" disabled="disabled" readonly="readonly"
> value="<!-- TMPL_VAR NAME="borrowernumber" -->" /></li>
> -       <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="categorycode">Patron Category:</label><input
> type="text" id="categorycode" disabled="disabled" readonly="readonly"
> value="<!-- TMPL_VAR NAME="description" -->" /></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" -->
> --
> 1.5.6.5
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/koha-patches/attachments/20090504/0f0cbe87/attachment-0002.htm>


More information about the Koha-patches mailing list