Bugzilla – Attachment 112881 Details for
Bug 26889
Remove extra space from "Damaged :" in item search
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26889: Remove extra space from "Damaged :" in item search
Bug-26889-Remove-extra-space-from-Damaged--in-item.patch (text/plain), 3.89 KB, created by
Katrin Fischer
on 2020-11-02 21:48:38 UTC
(
hide
)
Description:
Bug 26889: Remove extra space from "Damaged :" in item search
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2020-11-02 21:48:38 UTC
Size:
3.89 KB
patch
obsolete
>From 2654794c5015e7663ad8b1f41739dde677800411 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Mon, 2 Nov 2020 12:28:09 +0000 >Subject: [PATCH] Bug 26889: Remove extra space from "Damaged :" in item search > >This patch adds the chomp shorthand [%- -%] to the BLOCK for showing >labels in the item search template. This collapses the whitespace around >the label, eliminating the unwanted space around the ":" > >To test, apply the patch and go to the item search page in the staff >interface. There should be no space before the colon in the "Damaged" >label. > >Signed-off-by: David Nind <david@davidnind.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > .../prog/en/modules/catalogue/itemsearch.tt | 56 +++++++++++----------- > 1 file changed, 28 insertions(+), 28 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt >index 0290678ab4..fe2639d2aa 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt >@@ -3,34 +3,34 @@ > [% USE Asset %] > [% USE AuthorisedValues %] > >-[% BLOCK form_label %] >- [% SWITCH label %] >- [% CASE 'barcode' %]<span>Barcode</span> >- [% CASE 'itemcallnumber' %]<span>Call number</span> >- [% CASE 'stocknumber' %]<span>Inventory number</span> >- [% CASE 'title' %]<span>Title</span> >- [% CASE 'author' %]<span>Author</span> >- [% CASE 'publishercode' %]<span>Publisher</span> >- [% CASE 'publicationyear' %]<span>Publication date</span> >- [% CASE 'collectiontitle' %]<span>Collection title</span> >- [% CASE 'isbn' %]<span>ISBN</span> >- [% CASE 'issn' %]<span>ISSN</span> >- [% CASE 'homebranch' %]<span>Home library</span> >- [% CASE 'holdingbranch' %]<span>Current library</span> >- [% CASE 'All libraries' %]<span>All libraries</span> >- [% CASE 'location' %]<span>Shelving location</span> >- [% CASE 'All locations' %]<span>All locations</span> >- [% CASE 'itype' %]<span>Item type</span> >- [% CASE 'All item types' %]<span>All item types</span> >- [% CASE 'ccode' %]<span>Collection</span> >- [% CASE 'All collection codes' %]<span>All collections</span> >- [% CASE 'notforloan' %]<span>Status</span> >- [% CASE 'All statuses' %]<span>All statuses</span> >- [% CASE 'damaged' %]<span>Damaged</span> >- [% CASE 'itemlost' %]<span>Lost</span> >- [% CASE 'withdrawn' %]<span>Withdrawn</span> >- [% END %] >-[% END %] >+[%- BLOCK form_label -%] >+ [%- SWITCH label -%] >+ [%- CASE 'barcode' %]<span>Barcode</span> >+ [%- CASE 'itemcallnumber' %]<span>Call number</span> >+ [%- CASE 'stocknumber' %]<span>Inventory number</span> >+ [%- CASE 'title' %]<span>Title</span> >+ [%- CASE 'author' %]<span>Author</span> >+ [%- CASE 'publishercode' %]<span>Publisher</span> >+ [%- CASE 'publicationyear' %]<span>Publication date</span> >+ [%- CASE 'collectiontitle' %]<span>Collection title</span> >+ [%- CASE 'isbn' %]<span>ISBN</span> >+ [%- CASE 'issn' %]<span>ISSN</span> >+ [%- CASE 'homebranch' %]<span>Home library</span> >+ [%- CASE 'holdingbranch' %]<span>Current library</span> >+ [%- CASE 'All libraries' %]<span>All libraries</span> >+ [%- CASE 'location' %]<span>Shelving location</span> >+ [%- CASE 'All locations' %]<span>All locations</span> >+ [%- CASE 'itype' %]<span>Item type</span> >+ [%- CASE 'All item types' %]<span>All item types</span> >+ [%- CASE 'ccode' %]<span>Collection</span> >+ [%- CASE 'All collection codes' %]<span>All collections</span> >+ [%- CASE 'notforloan' %]<span>Status</span> >+ [%- CASE 'All statuses' %]<span>All statuses</span> >+ [%- CASE 'damaged' %]<span>Damaged</span> >+ [%- CASE 'itemlost' %]<span>Lost</span> >+ [%- CASE 'withdrawn' %]<span>Withdrawn</span> >+ [%- END -%] >+[%- END -%] > > [% BLOCK form_field_select %] > <div class="form-field form-field-select"> >-- >2.11.0
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 26889
:
112828
|
112865
| 112881