View | Details | Raw Unified | Return to bug 24172
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/localizer.inc (+21 lines)
Line 0 Link Here
1
[%~ BLOCK localize_numbering_pattern_season ~%]
2
    [%~ IF ( matches = season.match('(.*)Spring(.*)') ) ~%]
3
        [%~ matches.0 | html ~%]Spring[%~ matches.1 | html ~%]
4
    [%~ ELSIF ( matches = season.match('(.*)Summer(.*)') ) ~%]
5
        [%~ matches.0 | html ~%]Summer[%~ matches.1 | html ~%]
6
    [%~ ELSIF ( matches = season.match('(.*)Fall(.*)') ) ~%]
7
        [%~ matches.0 | html ~%]Fall[%~ matches.1 | html ~%]
8
    [%~ ELSIF ( matches = season.match('(.*)Winter(.*)') ) ~%]
9
        [%~ matches.0 | html ~%]Winter[%~ matches.1 | html ~%]
10
    [%~ ELSIF ( matches = season.match('(.*)Spr(.*)') ) ~%]
11
        [%~ matches.0 | html ~%]Spr[%~ matches.1 | html ~%]
12
    [%~ ELSIF ( matches = season.match('(.*)Sum(.*)') ) ~%]
13
        [%~ matches.0 | html ~%]Sum[%~ matches.1 | html ~%]
14
    [%~ ELSIF ( matches = season.match('(.*)Fal(.*)') ) ~%]
15
        [%~ matches.0 | html ~%]Fal[%~ matches.1 | html ~%]
16
    [%~ ELSIF ( matches = season.match('(.*)Win(.*)') ) ~%]
17
        [%~ matches.0 | html ~%]Win[%~ matches.1 | html ~%]
18
    [%~ ELSE ~%]
19
        [%~ season | html ~%]
20
    [%~ END ~%]
21
[%~ END ~%]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-1 / +4 lines)
Lines 9-14 Link Here
9
[% USE Frameworks %]
9
[% USE Frameworks %]
10
[% USE Price %]
10
[% USE Price %]
11
[% USE TablesSettings %]
11
[% USE TablesSettings %]
12
[% PROCESS 'localizer.inc' %]
12
[% PROCESS 'i18n.inc' %]
13
[% PROCESS 'i18n.inc' %]
13
[% SET CoverImagePlugins = KohaPlugins.get_plugins_intranet_cover_images %]
14
[% SET CoverImagePlugins = KohaPlugins.get_plugins_intranet_cover_images %]
14
15
Lines 798-804 Link Here
798
                </tr>
799
                </tr>
799
            [% FOREACH latestserial IN subscription.latestserials %]
800
            [% FOREACH latestserial IN subscription.latestserials %]
800
                <tr>
801
                <tr>
801
                    <td>[% latestserial.serialseq | html %]</td>
802
                    <td>
803
                        [% PROCESS localize_numbering_pattern_season season => latestserial.serialseq %]
804
                    </td>
802
                    <td data-order="[% latestserial.planneddate | html %]">[% latestserial.planneddate | $KohaDates %]</td>
805
                    <td data-order="[% latestserial.planneddate | html %]">[% latestserial.planneddate | $KohaDates %]</td>
803
                    <td data-order="[% latestserial.publisheddate | html %]">[% latestserial.publisheddate | $KohaDates %]</td>
806
                    <td data-order="[% latestserial.publisheddate | html %]">[% latestserial.publisheddate | $KohaDates %]</td>
804
                    <td>[% latestserial.publisheddatetext | html %]</td>
807
                    <td>[% latestserial.publisheddatetext | html %]</td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt (-19 / +2 lines)
Lines 4-9 Link Here
4
[% USE Branches %]
4
[% USE Branches %]
5
[% USE HtmlTags %]
5
[% USE HtmlTags %]
6
[% USE KohaDates %]
6
[% USE KohaDates %]
7
[% PROCESS 'localizer.inc' %]
7
[% SET footerjs = 1 %]
8
[% SET footerjs = 1 %]
8
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
9
<title>Serial collection information for [% bibliotitle | html %] &rsaquo; Serials &rsaquo; Koha</title>
10
<title>Serial collection information for [% bibliotitle | html %] &rsaquo; Serials &rsaquo; Koha</title>
Lines 266-290 Link Here
266
                                                            [% END %]
267
                                                            [% END %]
267
                                                        </td>
268
                                                        </td>
268
                                                        <td>
269
                                                        <td>
269
                                                            [% IF ( matches = serial.serialseq.match('(.*)Spring(.*)') ) %]
270
                                                            [% PROCESS localize_numbering_pattern_season season => serial.serialseq %]
270
                                                                [% matches.0 | html %]Spring[% matches.1 | html %]
271
                                                            [% ELSIF ( matches = serial.serialseq.match('(.*)Summer(.*)') ) %]
272
                                                                [% matches.0 | html %]Summer[% matches.1 | html %]
273
                                                            [% ELSIF ( matches = serial.serialseq.match('(.*)Fall(.*)') ) %]
274
                                                                [% matches.0 | html %]Fall[% matches.1 | html %]
275
                                                            [% ELSIF ( matches = serial.serialseq.match('(.*)Winter(.*)') ) %]
276
                                                                [% matches.0 | html %]Winter[% matches.1 | html %]
277
                                                            [% ELSIF ( matches = prediction.number.match('(.*)Spr(.*)') ) %]
278
                                                                [% matches.0 | html %]Spr[% matches.1 | html %]
279
                                                            [% ELSIF ( matches = prediction.number.match('(.*)Sum(.*)') ) %]
280
                                                                [% matches.0 | html %]Sum[% matches.1 | html %]
281
                                                            [% ELSIF ( matches = prediction.number.match('(.*)Fal(.*)') ) %]
282
                                                                [% matches.0 | html %]Fal[% matches.1 | html %]
283
                                                            [% ELSIF ( matches = prediction.number.match('(.*)Win(.*)') ) %]
284
                                                                [% matches.0 | html %]Win[% matches.1 | html %]
285
                                                            [% ELSE %]
286
                                                                [% serial.serialseq | html %]
287
                                                            [% END %]
288
                                                        </td>
271
                                                        </td>
289
                                                        <td>
272
                                                        <td>
290
                                                            [% INCLUDE 'serial-status.inc' serial = serial %]
273
                                                            [% INCLUDE 'serial-status.inc' serial = serial %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tt (-1 / +4 lines)
Lines 1-6 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE AuthorisedValues %]
3
[% USE AuthorisedValues %]
4
[% PROCESS 'localizer.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
5
<title>Serial edition [% bibliotitle | html %] &rsaquo; Serials &rsaquo; Koha</title>
6
<title>Serial edition [% bibliotitle | html %] &rsaquo; Serials &rsaquo; Koha</title>
6
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
Lines 138-144 $(document).ready(function() { Link Here
138
            <input type="hidden" name="biblionumber" value="[% serialslis.biblionumber | html %]" />
139
            <input type="hidden" name="biblionumber" value="[% serialslis.biblionumber | html %]" />
139
            <input type="hidden" name="itemcount" value="[% serialslis.issuesatonce | html %]" />
140
            <input type="hidden" name="itemcount" value="[% serialslis.issuesatonce | html %]" />
140
            <input type="hidden" name="user" value="[% serialslis.librarian | html %]" />
141
            <input type="hidden" name="user" value="[% serialslis.librarian | html %]" />
141
            Issue <input type="text" name="serialseq" id="serialseq[% serialslis.serialid | html %]" value="[% serialslis.serialseq | html %]" size="20" maxlength="100" />
142
            Issue <input type="text" name="serialseq" id="serialseq[% serialslis.serialid | html %]"
143
            value="[% PROCESS localize_numbering_pattern_season season => serialslis.serialseq %]"
144
            size="20" maxlength="100" />
142
        </td>
145
        </td>
143
        <td>
146
        <td>
144
            <input type="text" name="publisheddate" value="[% serialslis.publisheddate | html %]" size="10" maxlength="15" class="flatpickr" />
147
            <input type="text" name="publisheddate" value="[% serialslis.publisheddate | html %]" size="10" maxlength="15" class="flatpickr" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/showpredictionpattern.tt (-19 / +2 lines)
Lines 1-4 Link Here
1
[% USE KohaDates %]
1
[% USE KohaDates %]
2
[% PROCESS 'localizer.inc' %]
2
<h2>Prediction pattern</h2>
3
<h2>Prediction pattern</h2>
3
[% IF (not_consistent_end_date) %]
4
[% IF (not_consistent_end_date) %]
4
  <p><em>End date is not consistent with subscription length.</em></p>
5
  <p><em>End date is not consistent with subscription length.</em></p>
Lines 41-65 Link Here
41
    [% FOREACH prediction IN predictions_loop %]
42
    [% FOREACH prediction IN predictions_loop %]
42
      <tr>
43
      <tr>
43
        <td>
44
        <td>
44
            [% IF ( matches = prediction.number.match('(.*)Spring(.*)') ) %]
45
            [% PROCESS localize_numbering_pattern_season season => prediction.number %]
45
                [% matches.0 | html %]Spring[% matches.1 | html %]
46
            [% ELSIF ( matches = prediction.number.match('(.*)Summer(.*)') ) %]
47
                [% matches.0 | html %]Summer[% matches.1 | html %]
48
            [% ELSIF ( matches = prediction.number.match('(.*)Fall(.*)') ) %]
49
                [% matches.0 | html %]Fall[% matches.1 | html %]
50
            [% ELSIF ( matches = prediction.number.match('(.*)Winter(.*)') ) %]
51
                [% matches.0 | html %]Winter[% matches.1 | html %]
52
            [% ELSIF ( matches = prediction.number.match('(.*)Spr(.*)') ) %]
53
                [% matches.0 | html %]Spr[% matches.1 | html %]
54
            [% ELSIF ( matches = prediction.number.match('(.*)Sum(.*)') ) %]
55
                [% matches.0 | html %]Sum[% matches.1 | html %]
56
            [% ELSIF ( matches = prediction.number.match('(.*)Fal(.*)') ) %]
57
                [% matches.0 | html %]Fal[% matches.1 | html %]
58
            [% ELSIF ( matches = prediction.number.match('(.*)Win(.*)') ) %]
59
                [% matches.0 | html %]Win[% matches.1 | html %]
60
            [% ELSE %]
61
                [% prediction.number | html %]
62
            [% END %]
63
        </td>
46
        </td>
64
        <td>
47
        <td>
65
          [% IF (prediction.publicationdate) %]
48
          [% IF (prediction.publicationdate) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt (-1 / +2 lines)
Lines 7-12 Link Here
7
[% USE Price %]
7
[% USE Price %]
8
[% USE TablesSettings %]
8
[% USE TablesSettings %]
9
[% SET footerjs = 1 %]
9
[% SET footerjs = 1 %]
10
[% PROCESS 'localizer.inc' %]
10
[% INCLUDE 'doc-head-open.inc' %]
11
[% INCLUDE 'doc-head-open.inc' %]
11
<title>Details for subscription #[% subscriptionid | html %] &rsaquo; Serials &rsaquo; Koha</title>
12
<title>Details for subscription #[% subscriptionid | html %] &rsaquo; Serials &rsaquo; Koha</title>
12
[% INCLUDE 'doc-head-close.inc' %]
13
[% INCLUDE 'doc-head-close.inc' %]
Lines 257-263 Link Here
257
                                [% FOREACH serialslis IN serialslist %]
258
                                [% FOREACH serialslis IN serialslist %]
258
                                    <tr>
259
                                    <tr>
259
                                        <td>
260
                                        <td>
260
                                            [% serialslis.serialseq | html %]
261
                                            [% PROCESS localize_numbering_pattern_season season => serialslis.serialseq %]
261
                                        </td>
262
                                        </td>
262
                                        <td>
263
                                        <td>
263
                                            [% IF serialslis.planneddate %]
264
                                            [% IF serialslis.planneddate %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (-2 / +4 lines)
Lines 7-12 Link Here
7
[% USE TablesSettings %]
7
[% USE TablesSettings %]
8
[% USE AuthorisedValues %]
8
[% USE AuthorisedValues %]
9
[% USE KohaPlugins %]
9
[% USE KohaPlugins %]
10
[% PROCESS 'localizer.inc' %]
10
[% SET TagsShowEnabled = ( ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsShowOnDetail ) %]
11
[% SET TagsShowEnabled = ( ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsShowOnDetail ) %]
11
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsInputOnDetail ) %]
12
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsInputOnDetail ) %]
12
[% SET CoverImagePlugins = KohaPlugins.get_plugins_opac_cover_images %]
13
[% SET CoverImagePlugins = KohaPlugins.get_plugins_opac_cover_images %]
Lines 763-769 Link Here
763
                                                <tbody>
764
                                                <tbody>
764
                                                    [% FOREACH latestserial IN subscription.latestserials %]
765
                                                    [% FOREACH latestserial IN subscription.latestserials %]
765
                                                        <tr>
766
                                                        <tr>
766
                                                            <td class="serialseq">[% latestserial.serialseq | html %]</td>
767
                                                            <td class="serialseq">
768
                                                                [% PROCESS localize_numbering_pattern_season season => latestserial.serialseq %]
769
                                                            </td>
767
                                                            <td class="publisheddate" data-order="[% latestserial.publisheddate | html %]">[% latestserial.publisheddate | $KohaDates %]</td>
770
                                                            <td class="publisheddate" data-order="[% latestserial.publisheddate | html %]">[% latestserial.publisheddate | $KohaDates %]</td>
768
                                                            <td class="planneddate" data-order="[% latestserial.planneddate | html %]">[% latestserial.planneddate | $KohaDates %]</td>
771
                                                            <td class="planneddate" data-order="[% latestserial.planneddate | html %]">[% latestserial.planneddate | $KohaDates %]</td>
769
                                                            <td class="serial_status">
772
                                                            <td class="serial_status">
770
- 

Return to bug 24172