Bugzilla – Attachment 79038 Details for
Bug 20896
Move serial enumeration to the right of callnumber on staff detail page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20896: Move serial enumeration after callnumber on intranet detail page
Bug-20896-Move-serial-enumeration-after-callnumber.patch (text/plain), 5.50 KB, created by
Mark Tompsett
on 2018-09-17 22:54:32 UTC
(
hide
)
Description:
Bug 20896: Move serial enumeration after callnumber on intranet detail page
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2018-09-17 22:54:32 UTC
Size:
5.50 KB
patch
obsolete
>From 99807ad7caf4eb54b9e4dbf1a7f6379a66ffe59c Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Wed, 8 Aug 2018 19:52:26 +0000 >Subject: [PATCH] Bug 20896: Move serial enumeration after callnumber on > intranet detail page > >The column with serial enumeration/chronology information is moved >from the back to the right of itemcallnumber on the intranet detail >page. > >To test: >- Apply patch >- Look at different detail pages in staff: > - 1 or more items have serial enumeration information > - no item has serial enumeration informatoin >- Verify > - itemcallnumber is now followed by serial information, if > an item with the field filled in exists for the record > - all other functionality, like sorting, works as expected > >https://bugs.koha-community.org/show_bug.cgi?id=20896 >--- > .../prog/en/modules/catalogue/detail.tt | 42 +++++++++++----------- > 1 file changed, 21 insertions(+), 21 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >index ce02cb6..69bf369 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >@@ -352,10 +352,10 @@ > <th>Home library</th> > [% IF ( itemdata_ccode ) %]<th>Collection</th>[% END %] > <th>Call number</th> >+ [% IF ( volinfo ) %]<th>Serial enumeration / chronology</th>[% END %] > <th>Status</th> > <th>Last seen</th> > <th>Barcode</th> >- [% IF ( volinfo ) %]<th>Serial enumeration / chronology</th>[% END %] > [% IF ( itemdata_uri ) %]<th>URL</th>[% END %] > [% IF ( itemdata_copynumber ) %]<th>Copy number</th>[% END %] > [% IF ( itemdata_stocknumber ) %]<th>Inventory number</th>[% END %] >@@ -389,6 +389,26 @@ > <td class="homebranch">[% Branches.GetName(item.homebranch) | html %]<span class="shelvingloc">[% item.location | html %]</span> </td> > [% IF ( itemdata_ccode ) %]<td>[% item.ccode | html %]</td>[% END %] > <td class="itemcallnumber">[% IF ( item.itemcallnumber ) %] [% item.itemcallnumber | html %][% END %]</td> >+ [% IF ( volinfo ) %] >+ <td class="enumchron"> >+ [% IF ( itemdata_enumchron ) %] >+ [% IF item.enumchron && item.serialseq %] >+ <span class="enum">[% item.enumchron | html %]</span> >+ [% IF ( item.serialseq && item.enumchron!=item.serialseq ) %] >+ <span class="sep"> -- </span> >+ <span class="serialseq">[% item.serialseq | html %]</span> >+ [% END %] >+ [% ELSIF item.enumchron %] >+ <span class="enum">[% item.enumchron | html %]</span> >+ [% ELSIF item.serialseq %] >+ <span class="serialseq">[% item.serialseq | html %]</span> >+ [% END %] >+ [% IF ( item.publisheddate ) %] >+ <span class="pubdate">([% item.publisheddate | $KohaDates %])</span> >+ [% END %] >+ [% END %] >+ </td> >+ [% END %] > <td class="status"> > > [% IF item.CheckedOutFor %] >@@ -476,26 +496,6 @@ > </td> > <td class="datelastseen">[% item.datelastseen | $KohaDates %]</td> > <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?type=[% item.type | html %]&itemnumber=[% item.itemnumber | html %]&biblionumber=[% item.biblionumber | html %]&bi=[% item.biblioitemnumber | html %]#item[% item.itemnumber | html %]">[% item.barcode | html %]</a></td> >- [% IF ( volinfo ) %] >- <td class="enumchron"> >- [% IF ( itemdata_enumchron ) %] >- [% IF item.enumchron && item.serialseq %] >- <span class="enum">[% item.enumchron | html %]</span> >- [% IF ( item.serialseq && item.enumchron!=item.serialseq ) %] >- <span class="sep"> -- </span> >- <span class="serialseq">[% item.serialseq | html %]</span> >- [% END %] >- [% ELSIF item.enumchron %] >- <span class="enum">[% item.enumchron | html %]</span> >- [% ELSIF item.serialseq %] >- <span class="serialseq">[% item.serialseq | html %]</span> >- [% END %] >- [% IF ( item.publisheddate ) %] >- <span class="pubdate">([% item.publisheddate | $KohaDates %])</span> >- [% END %] >- [% END %] >- </td> >- [% END %] > [% IF ( itemdata_uri ) %] > <td class="uri"><a href="[% item.uri | html %]">[% item.uri | html %]</a></td> > [% END %] >-- >2.1.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 20896
:
77600
|
79038
|
79534
|
80515