Not that it's worth resubmitting over, but "Please enter the commit message for your changes" probably shouldn't be part of the actual commit message. -- Joe
On Fri, Mar 6, 2009 at 5:38 AM, <[email protected]> wrote: > From: Nahuel Angelinetti <[email protected]> > > This patch make Page.pm to use the getitemtypeinfo function to generate the > imageurl, and check (in the template) if an > image is set. > I backported a function from koha3.2, and the use of URI::Split. > Before this patch, always the "Alt" information was shown, because the url > wasn't right. > > Please enter the commit message for your changes. > > Signed-off-by: Henri-Damien LAURENT <[email protected]> > --- > .../opac-tmpl/prog/en/modules/opac-shelves.tmpl | 5 ++++- > 1 files changed, 4 insertions(+), 1 deletions(-) > > diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl > b/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl > index 750101a..76c540e 100644 > --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl > +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl > @@ -121,7 +121,10 @@ $.tablesorter.addParser({ > </td> > <!-- /TMPL_IF --> > <!-- TMPL_UNLESS NAME="item-level_itypes" --><td> > - <img src="<!-- TMPL_VAR NAME="imageurl" -->" alt="<!-- > TMPL_VAR NAME="description" -->" title="<!-- TMPL_VAR NAME="description" > -->" /><!-- TMPL_VAR NAME="description" --> > + <!-- TMPL_IF NAME="imageurl" --> > + <img src="<!-- TMPL_VAR NAME="imageurl" -->" alt="<!-- > TMPL_VAR NAME="description" -->" title="<!-- TMPL_VAR NAME="description" > -->" /> > + </TMPL_IF> > + <!-- TMPL_VAR NAME="description" --> > </td> <!-- /TMPL_UNLESS --> > > <td><!-- TMPL_IF NAME="BiblioDefaultViewmarc" --><a > class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=<!-- > TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="title" > --> <!-- TMPL_VAR NAME="subtitle" --></a> > -- > 1.5.6.3 > > _______________________________________________ > Koha-patches mailing list > [email protected] > http://lists.koha.org/mailman/listinfo/koha-patches >
_______________________________________________ Koha-patches mailing list [email protected] http://lists.koha.org/mailman/listinfo/koha-patches
