Bugzilla – Attachment 19725 Details for
Bug 7706
AuthorisedValueImages not displaying all images on the OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7706 - Show image in item lost status
0003-Bug-7706-Show-image-in-item-lost-status.patch (text/plain), 1.53 KB, created by
Fridolin Somers
on 2013-07-17 14:11:34 UTC
(
hide
)
Description:
Bug 7706 - Show image in item lost status
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2013-07-17 14:11:34 UTC
Size:
1.53 KB
patch
obsolete
>From 04226824dfa35eae72ab3dd1427211297b07236e Mon Sep 17 00:00:00 2001 >From: Fridolyn SOMERS <fridolyn.somers@biblibre.com> >Date: Wed, 17 Jul 2013 16:01:49 +0200 >Subject: [PATCH 3/3] Bug 7706 - Show image in item lost status > >If lostimageurl is defined, use it and do not show the lost text. >This is the behavior existing before Bug 4173 changed item-status.inc. >--- > koha-tmpl/opac-tmpl/prog/en/includes/item-status.inc | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/item-status.inc b/koha-tmpl/opac-tmpl/prog/en/includes/item-status.inc >index 98fdb38..9a83e3f 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/includes/item-status.inc >+++ b/koha-tmpl/opac-tmpl/prog/en/includes/item-status.inc >@@ -14,12 +14,12 @@ > [% ELSIF ( item.wthdrawn ) %] > Item withdrawn > [% ELSIF ( item.itemlost ) %] >- [% av_lib_include = KohaAuthorisedValues.GetByCode( 'LOST', item.itemlost, 1 ) %] >- [% IF ( av_lib_include ) %] >- [% av_lib_include %] >+ [% IF ( item.lostimageurl ) %] >+ <img src="[% item.lostimageurl %]" alt="[% item.lostimagelabel %]" title="[% item.lostimagelabel %]"> > [% ELSE %] >- [% IF ( item.lostimageurl ) %] >- <img src="[% item.lostimageurl %]" alt="[% item.lostimagelabel %]" title="[% item.lostimagelabel %]"> >+ [% av_lib_include = KohaAuthorisedValues.GetByCode( 'LOST', item.itemlost, 1 ) %] >+ [% IF ( av_lib_include ) %] >+ [% av_lib_include %] > [% ELSE %] > Item lost > [% END %] >-- >1.7.10.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 7706
:
19722
|
19724
| 19725