koha-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Koha-devel] Patch for Koha 2.2.0RC2


From: Andrés Tarallo
Subject: Re: [Koha-devel] Patch for Koha 2.2.0RC2
Date: Mon Nov 22 08:09:07 2004
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040114

When you display the detail of a biblio the word subject (in bold) doesnt appears, it just appears the subjects. However with my patch this word appears.

Maybe someone with a deeper knowldge of html templates can give a more elegant solution, this one just works ;).

Andres



Paul POULAIN wrote:

[..]

------------------------------------------------------------------------

--- opac-detail.pl.original    2004-11-22 10:44:45.961235720 -0300
+++ opac-detail.pl    2004-11-22 10:45:42.784597256 -0300
@@ -21,6 +21,8 @@

my $biblionumber=$query->param('bib');
$template->param(biblionumber => $biblionumber);
+# 2004-11-22 A. Tarallo The Subject was missing.
+$template->param(subject => "");
I don't understand what it does : it just hide (in opac-main.tmpl) the :
<!-- TMPL_IF name="subject" --><b>Subject:</b><!-- /TMPL_IF -->

So I think it's better to change this line into
<!-- TMPL_IF name="subjects" --><b>Subject(s):</b><!-- /TMPL_IF -->
to have "Subject(s): " before the subjects when there is at least one.

Your opinion ?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]