Bugzilla – Attachment 79534 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.55 KB, created by
Owen Leonard
on 2018-09-27 15:47:56 UTC
(
hide
)
Description:
Bug 20896: Move serial enumeration after callnumber on intranet detail page
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2018-09-27 15:47:56 UTC
Size:
5.55 KB
patch
obsolete
>From 966ba3c78ab5c0dbca616ad336f8dc023e490a4e 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 > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > .../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