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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/locales/subscriptions.inc (+14 lines)
Line 0 Link Here
1
[% USE I18N %]
2
[%~ BLOCK numbering_patterns_i18n ~%]
3
4
    [%~ SET spring = I18N.t('Spring') ~%]
5
    [%~ SET summer = I18N.t('Summer') ~%]
6
    [%~ SET autumn = I18N.t('Autumn') ~%]
7
    [%~ SET winter = I18N.t('Winter') ~%]
8
    [%~ SET spr    = I18N.t('Spr') ~%]
9
    [%~ SET sum    = I18N.t('Sum') ~%]
10
    [%~ SET fal    = I18N.t('Fal') ~%]
11
    [%~ SET win    = I18N.t('Win') ~%]
12
13
    [%~ pattern.replace('Spr', spr).replace('Sum', sum).replace('Fal', fal).replace('Win', win).replace('Spring', spring).replace('Summer', summer).replace('Autumn', autumn).replace('Winter', winter) | html ~%]
14
[%~ END ~%]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-3 / +8 lines)
Lines 9-14 Link Here
9
[% USE Price %]
9
[% USE Price %]
10
[% USE TablesSettings %]
10
[% USE TablesSettings %]
11
[% PROCESS 'i18n.inc' %]
11
[% PROCESS 'i18n.inc' %]
12
[% PROCESS 'locales/subscriptions.inc' %]
12
13
13
[% IF Koha.Preference('AmazonAssocTag') %]
14
[% IF Koha.Preference('AmazonAssocTag') %]
14
    [% AmazonAssocTag = '?tag=' _ Koha.Preference('AmazonAssocTag') %]
15
    [% AmazonAssocTag = '?tag=' _ Koha.Preference('AmazonAssocTag') %]
Lines 436-447 Note that permanent location is a code, and location may be an authval. Link Here
436
                                    <span class="enum">[% item.enumchron | html %]</span>
437
                                    <span class="enum">[% item.enumchron | html %]</span>
437
                                    [% IF ( item.serialseq && item.enumchron!=item.serialseq ) %]
438
                                    [% IF ( item.serialseq && item.enumchron!=item.serialseq ) %]
438
                                        <span class="sep"> -- </span>
439
                                        <span class="sep"> -- </span>
439
                                        <span class="serialseq">[% item.serialseq | html %]</span>
440
                                        <span class="serialseq">
441
                                            [% PROCESS numbering_patterns_i18n pattern => item.serialseq %]
442
                                        </span>
440
                                    [% END %]
443
                                    [% END %]
441
                                [% ELSIF item.enumchron %]
444
                                [% ELSIF item.enumchron %]
442
                                    <span class="enum">[% item.enumchron | html %]</span>
445
                                    <span class="enum">[% item.enumchron | html %]</span>
443
                                [% ELSIF item.serialseq %]
446
                                [% ELSIF item.serialseq %]
444
                                    <span class="serialseq">[% item.serialseq | html %]</span>
447
                                    <span class="serialseq">
448
                                        [% PROCESS numbering_patterns_i18n pattern => item.serialseq %]
449
                                    </span>
445
                                [% END %]
450
                                [% END %]
446
                                [% IF ( item.publisheddate ) %]
451
                                [% IF ( item.publisheddate ) %]
447
                                    <span class="pubdate">([% item.publisheddate | $KohaDates %])</span>
452
                                    <span class="pubdate">([% item.publisheddate | $KohaDates %])</span>
Lines 786-792 Note that permanent location is a code, and location may be an authval. Link Here
786
                </tr>
791
                </tr>
787
            [% FOREACH latestserial IN subscription.latestserials %]
792
            [% FOREACH latestserial IN subscription.latestserials %]
788
                <tr>
793
                <tr>
789
                    <td>[% latestserial.serialseq | html %]</td>
794
                    <td>[% PROCESS numbering_patterns_i18n pattern => latestserial.serialseq %]</td>
790
                    <td data-order="[% latestserial.planneddate | html %]">[% latestserial.planneddate | $KohaDates %]</td>
795
                    <td data-order="[% latestserial.planneddate | html %]">[% latestserial.planneddate | $KohaDates %]</td>
791
                    <td data-order="[% latestserial.publisheddate | html %]">[% latestserial.publisheddate | $KohaDates %]</td>
796
                    <td data-order="[% latestserial.publisheddate | html %]">[% latestserial.publisheddate | $KohaDates %]</td>
792
                    <td>
797
                    <td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt (-1 / +2 lines)
Lines 7-12 Link Here
7
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
8
    <title>[% IF ( supplierid ) -%] Claims for [% suppliername | html %] &rsaquo; [% END %] Claims &rsaquo; Serials &rsaquo; Koha</title>
8
    <title>[% IF ( supplierid ) -%] Claims for [% suppliername | html %] &rsaquo; [% END %] Claims &rsaquo; Serials &rsaquo; Koha</title>
9
    [% INCLUDE 'doc-head-close.inc' %]
9
    [% INCLUDE 'doc-head-close.inc' %]
10
[% PROCESS 'locales/subscriptions.inc' %]
10
</head>
11
</head>
11
12
12
<body id="ser_claims" class="ser">
13
<body id="ser_claims" class="ser">
Lines 155-161 Link Here
155
                                                <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% missingissue.subscriptionid | uri %]">[% missingissue.title | html %]</a>
156
                                                <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% missingissue.subscriptionid | uri %]">[% missingissue.title | html %]</a>
156
                                            </td>
157
                                            </td>
157
                                            <td>[% missingissue.issn | html %]</td>
158
                                            <td>[% missingissue.issn | html %]</td>
158
                                            <td>[% missingissue.serialseq | html %]</td>
159
                                            <td>[% PROCESS numbering_patterns_i18n pattern => missingissue.serialseq %]</td>
159
                                            <td>
160
                                            <td>
160
                                                [% IF ( missingissue.status1 ) %]<span class="status-expected">Expected</span>[% END %]
161
                                                [% IF ( missingissue.status1 ) %]<span class="status-expected">Expected</span>[% END %]
161
                                                [% IF ( missingissue.status3 ) %]<span class="status-late">Late</span>[% END %]
162
                                                [% IF ( missingissue.status3 ) %]<span class="status-late">Late</span>[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing.tt (-2 / +4 lines)
Lines 7-12 Link Here
7
<body id="ser_routing" class="ser">
7
<body id="ser_routing" class="ser">
8
[% INCLUDE 'header.inc' %]
8
[% INCLUDE 'header.inc' %]
9
[% INCLUDE 'serials-search.inc' %]
9
[% INCLUDE 'serials-search.inc' %]
10
[% PROCESS 'locales/subscriptions.inc' %]
10
11
11
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
12
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
12
    <ol>
13
    <ol>
Lines 62-70 Link Here
62
<select name="date_selected" id="date_selected">
63
<select name="date_selected" id="date_selected">
63
    [% FOREACH date IN dates %]
64
    [% FOREACH date IN dates %]
64
        [% IF ( date.selected ) %]
65
        [% IF ( date.selected ) %]
65
            <option value="[% date.serialseq | html %] ([% date.publisheddate | html %])" selected="selected">[% date.serialseq | html %] ([% date.publisheddate | $KohaDates %])</option>
66
            <option value="[% date.serialseq | html %] ([% date.publisheddate | html %])" selected="selected">[% PROCESS numbering_patterns_i18n pattern => date.serialseq %] ([% date.publisheddate | $KohaDates %])</option>
66
        [% ELSE %]
67
        [% ELSE %]
67
            <option value="[% date.serialseq | html %] ([% date.publisheddate | html %])">[% date.serialseq | html %] ([% date.publisheddate | $KohaDates %])</option>
68
            <option value="[% date.serialseq | html %] ([% date.publisheddate | html %])">[% PROCESS numbering_patterns_i18n pattern => date.serialseq %]
69
            ([% date.publisheddate | $KohaDates %])</option>
68
        [% END %]
70
        [% END %]
69
[% END %]
71
[% END %]
70
</select> [% issue | html %]</li>
72
</select> [% issue | html %]</li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt (-19 / +2 lines)
Lines 7-12 Link Here
7
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
8
<title>Serial collection information for [% bibliotitle | html %] &rsaquo; Serials &rsaquo; Koha</title>
8
<title>Serial collection information for [% bibliotitle | html %] &rsaquo; Serials &rsaquo; Koha</title>
9
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
10
[% PROCESS 'locales/subscriptions.inc' %]
10
</head>
11
</head>
11
12
12
<body id="ser_serials-collection" class="ser">
13
<body id="ser_serials-collection" class="ser">
Lines 246-270 Link Here
246
                    [% END %]
247
                    [% END %]
247
                </td>
248
                </td>
248
                <td>
249
                <td>
249
                    [% IF ( matches = serial.serialseq.match('(.*)Spring(.*)') ) %]
250
                    [% PROCESS numbering_patterns_i18n pattern => serial.serialseq %]
250
                        [% matches.0 | html %]Spring[% matches.1 | html %]
251
                    [% ELSIF ( matches = serial.serialseq.match('(.*)Summer(.*)') ) %]
252
                        [% matches.0 | html %]Summer[% matches.1 | html %]
253
                    [% ELSIF ( matches = serial.serialseq.match('(.*)Fall(.*)') ) %]
254
                        [% matches.0 | html %]Fall[% matches.1 | html %]
255
                    [% ELSIF ( matches = serial.serialseq.match('(.*)Winter(.*)') ) %]
256
                        [% matches.0 | html %]Winter[% matches.1 | html %]
257
                    [% ELSIF ( matches = prediction.number.match('(.*)Spr(.*)') ) %]
258
                        [% matches.0 | html %]Spr[% matches.1 | html %]
259
                    [% ELSIF ( matches = prediction.number.match('(.*)Sum(.*)') ) %]
260
                        [% matches.0 | html %]Sum[% matches.1 | html %]
261
                    [% ELSIF ( matches = prediction.number.match('(.*)Fal(.*)') ) %]
262
                        [% matches.0 | html %]Fal[% matches.1 | html %]
263
                    [% ELSIF ( matches = prediction.number.match('(.*)Win(.*)') ) %]
264
                        [% matches.0 | html %]Win[% matches.1 | html %]
265
                    [% ELSE %]
266
                        [% serial.serialseq | html %]
267
                    [% END %]
268
                </td>
251
                </td>
269
                <td>
252
                <td>
270
                    [% IF ( serial.status1 ) %]<span>Expected</span>[% END %]
253
                    [% IF ( serial.status1 ) %]<span>Expected</span>[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt (-2 / +2 lines)
Lines 10-15 Link Here
10
[% INCLUDE 'doc-head-open.inc' %]
10
[% INCLUDE 'doc-head-open.inc' %]
11
<title>Details for subscription #[% subscriptionid | html %] &rsaquo; Serials &rsaquo; Koha</title>
11
<title>Details for subscription #[% subscriptionid | html %] &rsaquo; Serials &rsaquo; Koha</title>
12
[% INCLUDE 'doc-head-close.inc' %]
12
[% INCLUDE 'doc-head-close.inc' %]
13
[% PROCESS 'locales/subscriptions.inc' %]
13
[% Asset.css("lib/jquery/plugins/treetable/stylesheets/jquery.treetable.css") | $raw %]
14
[% Asset.css("lib/jquery/plugins/treetable/stylesheets/jquery.treetable.css") | $raw %]
14
</head>
15
</head>
15
16
Lines 336-342 Link Here
336
                                [% FOREACH serialslis IN serialslist %]
337
                                [% FOREACH serialslis IN serialslist %]
337
                                    <tr>
338
                                    <tr>
338
                                        <td>
339
                                        <td>
339
                                            [% serialslis.serialseq | html %]
340
                                            [% PROCESS numbering_patterns_i18n pattern => serialslis.serialseq %]
340
                                        </td>
341
                                        </td>
341
                                        <td>
342
                                        <td>
342
                                            [% IF serialslis.planneddate %]
343
                                            [% IF serialslis.planneddate %]
343
- 

Return to bug 20511