Bugzilla – Attachment 30484 Details for
Bug 8296
Add descriptive (text) published date field for serials
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8296: Display publisheddatetext in OPAC bootstrap theme
Bug-8296-Display-publisheddatetext-in-OPAC-bootstr.patch (text/plain), 2.89 KB, created by
Chris Cormack
on 2014-08-02 08:18:52 UTC
(
hide
)
Description:
Bug 8296: Display publisheddatetext in OPAC bootstrap theme
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2014-08-02 08:18:52 UTC
Size:
2.89 KB
patch
obsolete
>From 0d21631fd35a369558289157ce01b9b16d382c47 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Thu, 31 Jul 2014 10:37:48 +0200 >Subject: [PATCH] Bug 8296: Display publisheddatetext in OPAC bootstrap theme > >and remove modifications for OPAC prog theme > >Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> >--- > .../opac-tmpl/bootstrap/en/modules/opac-full-serial-issues.tt | 10 ++++++++-- > koha-tmpl/opac-tmpl/prog/en/modules/opac-full-serial-issues.tt | 2 -- > 2 files changed, 8 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-full-serial-issues.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-full-serial-issues.tt >index ceda257..6688e51 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-full-serial-issues.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-full-serial-issues.tt >@@ -85,7 +85,13 @@ > <tr> > <td> > [% IF ( serial.publisheddate ) %] >- <span title="[% serial.publisheddate %]">[% serial.publisheddate | $KohaDates %]</span> >+ <span title="[% serial.publisheddate %]"> >+ [% IF serial.publisheddatetext %] >+ [% serial.publisheddatetext %] >+ [% ELSE %] >+ [% serial.publisheddate | $KohaDates %] >+ [% END %] >+ </span> > [% ELSE %] > > [% END %] >@@ -271,4 +277,4 @@ > } > //]]> > </script> >-[% END %] >\ No newline at end of file >+[% END %] >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-full-serial-issues.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-full-serial-issues.tt >index 6e32c56..ab48058 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-full-serial-issues.tt >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-full-serial-issues.tt >@@ -188,7 +188,6 @@ function showlayer(numlayer){ > <thead> > <tr> > <th>Date</th> >- <th>Date (text)</th> > <th>Library</th> > <th>Notes</th> > <th>Date received</th> >@@ -207,7 +206,6 @@ function showlayer(numlayer){ > > [% END %] > </td> >- <td>[% serial.publisheddatetext || serial.publisheddate %]</td> > <td class="libraryfilterclass"> [% serial.branchcode %] > </td> > <td> [% serial.notes %] >-- >1.9.1
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 8296
:
10435
|
10582
|
11552
|
12228
|
12229
|
12230
|
12233
|
12240
|
13079
|
13080
|
13081
|
16315
|
16316
|
16317
|
16406
|
16420
|
16421
|
16422
|
18796
|
18797
|
18798
|
18811
|
18812
|
18813
|
19860
|
21341
|
21342
|
21343
|
21344
|
22727
|
22728
|
22729
|
22730
|
28974
|
28975
|
28976
|
28977
|
30379
|
30380
|
30381
|
30382
|
30383
|
30483
|
30484
|
30485
|
32124
|
32903
|
32904
|
32905
|
32906
|
32907
|
32908
|
33006
|
33007
|
33008
|
33009
|
33010
|
33011
|
33012
|
35865
|
35866
|
35867
|
35868
|
35869
|
35870
|
35871
|
41830
|
41831
|
41832
|
41833
|
41834
|
41835
|
41836
|
43665
|
43666
|
43667
|
43668
|
43669
|
43670
|
43671
|
45469