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 / +2 lines)
Lines 10-15 Link Here
10
[% USE Frameworks %]
10
[% USE Frameworks %]
11
[% USE Price %]
11
[% USE Price %]
12
[% USE TablesSettings %]
12
[% USE TablesSettings %]
13
[% PROCESS 'localizer.inc' %]
13
[% PROCESS 'i18n.inc' %]
14
[% PROCESS 'i18n.inc' %]
14
[% PROCESS 'html_helpers/tables/items/catalogue_detail.inc' %]
15
[% PROCESS 'html_helpers/tables/items/catalogue_detail.inc' %]
15
[% SET CoverImagePlugins = KohaPlugins.get_plugins_intranet_cover_images %]
16
[% SET CoverImagePlugins = KohaPlugins.get_plugins_intranet_cover_images %]
Lines 551-557 Link Here
551
                                    </tr>
552
                                    </tr>
552
                                    [% FOREACH latestserial IN subscription.latestserials %]
553
                                    [% FOREACH latestserial IN subscription.latestserials %]
553
                                        <tr>
554
                                        <tr>
554
                                            <td>[% latestserial.serialseq | html %]</td>
555
                                            <td>[% PROCESS localize_numbering_pattern_season season => latestserial.serialseq %]</td>
555
                                            <td data-order="[% latestserial.planneddate | html %]">[% latestserial.planneddate | $KohaDates %]</td>
556
                                            <td data-order="[% latestserial.planneddate | html %]">[% latestserial.planneddate | $KohaDates %]</td>
556
                                            <td data-order="[% latestserial.publisheddate | html %]">[% latestserial.publisheddate | $KohaDates %]</td>
557
                                            <td data-order="[% latestserial.publisheddate | html %]">[% latestserial.publisheddate | $KohaDates %]</td>
557
                                            <td>[% latestserial.publisheddatetext | html %]</td>
558
                                            <td>[% latestserial.publisheddatetext | html %]</td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt (-19 / +2 lines)
Lines 6-11 Link Here
6
[% USE HtmlTags %]
6
[% USE HtmlTags %]
7
[% USE KohaDates %]
7
[% USE KohaDates %]
8
[% PROCESS 'i18n.inc' %]
8
[% PROCESS 'i18n.inc' %]
9
[% PROCESS 'localizer.inc' %]
9
[% SET footerjs = 1 %]
10
[% SET footerjs = 1 %]
10
[% INCLUDE 'doc-head-open.inc' %]
11
[% INCLUDE 'doc-head-open.inc' %]
11
<title
12
<title
Lines 289-313 Link Here
289
                                                [% END %]
290
                                                [% END %]
290
                                            </td>
291
                                            </td>
291
                                            <td>
292
                                            <td>
292
                                                [% IF ( matches = serial.serialseq.match('(.*)Spring(.*)') ) %]
293
                                                [% PROCESS localize_numbering_pattern_season season => serial.serialseq %]
293
                                                    [% matches.0 | html %]Spring[% matches.1 | html %]
294
                                                [% ELSIF ( matches = serial.serialseq.match('(.*)Summer(.*)') ) %]
295
                                                    [% matches.0 | html %]Summer[% matches.1 | html %]
296
                                                [% ELSIF ( matches = serial.serialseq.match('(.*)Fall(.*)') ) %]
297
                                                    [% matches.0 | html %]Fall[% matches.1 | html %]
298
                                                [% ELSIF ( matches = serial.serialseq.match('(.*)Winter(.*)') ) %]
299
                                                    [% matches.0 | html %]Winter[% matches.1 | html %]
300
                                                [% ELSIF ( matches = prediction.number.match('(.*)Spr(.*)') ) %]
301
                                                    [% matches.0 | html %]Spr[% matches.1 | html %]
302
                                                [% ELSIF ( matches = prediction.number.match('(.*)Sum(.*)') ) %]
303
                                                    [% matches.0 | html %]Sum[% matches.1 | html %]
304
                                                [% ELSIF ( matches = prediction.number.match('(.*)Fal(.*)') ) %]
305
                                                    [% matches.0 | html %]Fal[% matches.1 | html %]
306
                                                [% ELSIF ( matches = prediction.number.match('(.*)Win(.*)') ) %]
307
                                                    [% matches.0 | html %]Win[% matches.1 | html %]
308
                                                [% ELSE %]
309
                                                    [% serial.serialseq | html %]
310
                                                [% END %]
311
                                            </td>
294
                                            </td>
312
                                            <td> [% INCLUDE 'serial-status.inc' serial = serial %] </td>
295
                                            <td> [% INCLUDE 'serial-status.inc' serial = serial %] </td>
313
                                            <td> [% serial.notes | html %] </td>
296
                                            <td> [% serial.notes | html %] </td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tt (-1 / +4 lines)
Lines 3-8 Link Here
3
[% USE Asset %]
3
[% USE Asset %]
4
[% USE AuthorisedValues %]
4
[% USE AuthorisedValues %]
5
[% PROCESS 'i18n.inc' %]
5
[% PROCESS 'i18n.inc' %]
6
[% PROCESS 'localizer.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
7
<title
8
<title
8
    >[% FILTER collapse %]
9
    >[% FILTER collapse %]
Lines 172-178 Link Here
172
                                        <input type="hidden" name="biblionumber" value="[% serialslis.biblionumber | html %]" />
173
                                        <input type="hidden" name="biblionumber" value="[% serialslis.biblionumber | html %]" />
173
                                        <input type="hidden" name="itemcount" value="[% serialslis.issuesatonce | html %]" />
174
                                        <input type="hidden" name="itemcount" value="[% serialslis.issuesatonce | html %]" />
174
                                        <input type="hidden" name="user" value="[% serialslis.librarian | html %]" />
175
                                        <input type="hidden" name="user" value="[% serialslis.librarian | html %]" />
175
                                        Issue <input type="text" name="serialseq" id="serialseq[% serialslis.serialid | html %]" value="[% serialslis.serialseq | html %]" size="20" maxlength="100" />
176
                                        Issue <input type="text" name="serialseq" id="serialseq[% serialslis.serialid | html %]"
177
                                        value="[% PROCESS localize_numbering_pattern_season season => serialslis.serialseq %]"
178
                                        size="20" maxlength="100" />
176
                                    </td>
179
                                    </td>
177
                                    <td>
180
                                    <td>
178
                                        <input type="text" name="publisheddate" value="[% serialslis.publisheddate | html %]" size="10" maxlength="15" class="flatpickr" />
181
                                        <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 38-62 Link Here
38
            [% FOREACH prediction IN predictions_loop %]
39
            [% FOREACH prediction IN predictions_loop %]
39
                <tr>
40
                <tr>
40
                    <td>
41
                    <td>
41
                        [% IF ( matches = prediction.number.match('(.*)Spring(.*)') ) %]
42
                        [% PROCESS localize_numbering_pattern_season season => prediction.number %]
42
                            [% matches.0 | html %]Spring[% matches.1 | html %]
43
                        [% ELSIF ( matches = prediction.number.match('(.*)Summer(.*)') ) %]
44
                            [% matches.0 | html %]Summer[% matches.1 | html %]
45
                        [% ELSIF ( matches = prediction.number.match('(.*)Fall(.*)') ) %]
46
                            [% matches.0 | html %]Fall[% matches.1 | html %]
47
                        [% ELSIF ( matches = prediction.number.match('(.*)Winter(.*)') ) %]
48
                            [% matches.0 | html %]Winter[% matches.1 | html %]
49
                        [% ELSIF ( matches = prediction.number.match('(.*)Spr(.*)') ) %]
50
                            [% matches.0 | html %]Spr[% matches.1 | html %]
51
                        [% ELSIF ( matches = prediction.number.match('(.*)Sum(.*)') ) %]
52
                            [% matches.0 | html %]Sum[% matches.1 | html %]
53
                        [% ELSIF ( matches = prediction.number.match('(.*)Fal(.*)') ) %]
54
                            [% matches.0 | html %]Fal[% matches.1 | html %]
55
                        [% ELSIF ( matches = prediction.number.match('(.*)Win(.*)') ) %]
56
                            [% matches.0 | html %]Win[% matches.1 | html %]
57
                        [% ELSE %]
58
                            [% prediction.number | html %]
59
                        [% END %]
60
                    </td>
43
                    </td>
61
                    <td>
44
                    <td>
62
                        [% IF (prediction.publicationdate) %]
45
                        [% IF (prediction.publicationdate) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt (-1 / +2 lines)
Lines 10-15 Link Here
10
[% PROCESS 'i18n.inc' %]
10
[% PROCESS 'i18n.inc' %]
11
[% SET footerjs = 1 %]
11
[% SET footerjs = 1 %]
12
[%- PROCESS 'html_helpers.inc' -%]
12
[%- PROCESS 'html_helpers.inc' -%]
13
[% PROCESS 'localizer.inc' %]
13
[% INCLUDE 'doc-head-open.inc' %]
14
[% INCLUDE 'doc-head-open.inc' %]
14
<title
15
<title
15
    >[% FILTER collapse %]
16
    >[% FILTER collapse %]
Lines 282-288 Link Here
282
                    </tr>
283
                    </tr>
283
                    [% FOREACH serialslis IN serialslist %]
284
                    [% FOREACH serialslis IN serialslist %]
284
                        <tr>
285
                        <tr>
285
                            <td> [% serialslis.serialseq | html %] </td>
286
                            <td> [% PROCESS localize_numbering_pattern_season season => serialslis.serialseq %] </td>
286
                            <td>
287
                            <td>
287
                                [% IF serialslis.planneddate %]
288
                                [% IF serialslis.planneddate %]
288
                                    [% serialslis.planneddate | $KohaDates %]
289
                                    [% serialslis.planneddate | $KohaDates %]
(-)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
[% USE SafeURL %]
11
[% USE SafeURL %]
11
[% SET TagsShowEnabled = ( ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsShowOnDetail ) %]
12
[% SET TagsShowEnabled = ( ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsShowOnDetail ) %]
12
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsInputOnDetail ) %]
13
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsInputOnDetail ) %]
Lines 816-822 Link Here
816
                                                <tbody>
817
                                                <tbody>
817
                                                    [% FOREACH latestserial IN subscription.latestserials %]
818
                                                    [% FOREACH latestserial IN subscription.latestserials %]
818
                                                        <tr>
819
                                                        <tr>
819
                                                            <td class="serialseq">[% latestserial.serialseq | html %]</td>
820
                                                            <td class="serialseq">
821
                                                                [% PROCESS localize_numbering_pattern_season season => latestserial.serialseq %]
822
                                                            </td>
820
                                                            <td class="publisheddate" data-order="[% latestserial.publisheddate | html %]">[% latestserial.publisheddate | $KohaDates %]</td>
823
                                                            <td class="publisheddate" data-order="[% latestserial.publisheddate | html %]">[% latestserial.publisheddate | $KohaDates %]</td>
821
                                                            <td class="publisheddatetext" data-order="[% latestserial.publisheddatetext | html %]">[% latestserial.publisheddatetext | html %]</td>
824
                                                            <td class="publisheddatetext" data-order="[% latestserial.publisheddatetext | html %]">[% latestserial.publisheddatetext | html %]</td>
822
                                                            <td class="planneddate" data-order="[% latestserial.planneddate | html %]">[% latestserial.planneddate | $KohaDates %]</td>
825
                                                            <td class="planneddate" data-order="[% latestserial.planneddate | html %]">[% latestserial.planneddate | $KohaDates %]</td>
823
- 

Return to bug 24172