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 403-414 Note that permanent location is a code, and location may be an authval. Link Here
403
                                    <span class="enum">[% item.enumchron | html %]</span>
404
                                    <span class="enum">[% item.enumchron | html %]</span>
404
                                    [% IF ( item.serialseq && item.enumchron!=item.serialseq ) %]
405
                                    [% IF ( item.serialseq && item.enumchron!=item.serialseq ) %]
405
                                        <span class="sep"> -- </span>
406
                                        <span class="sep"> -- </span>
406
                                        <span class="serialseq">[% item.serialseq | html %]</span>
407
                                        <span class="serialseq">
408
                                            [% PROCESS numbering_patterns_i18n pattern => item.serialseq %]
409
                                        </span>
407
                                    [% END %]
410
                                    [% END %]
408
                                [% ELSIF item.enumchron %]
411
                                [% ELSIF item.enumchron %]
409
                                    <span class="enum">[% item.enumchron | html %]</span>
412
                                    <span class="enum">[% item.enumchron | html %]</span>
410
                                [% ELSIF item.serialseq %]
413
                                [% ELSIF item.serialseq %]
411
                                    <span class="serialseq">[% item.serialseq | html %]</span>
414
                                    <span class="serialseq">
415
                                        [% PROCESS numbering_patterns_i18n pattern => item.serialseq %]
416
                                    </span>
412
                                [% END %]
417
                                [% END %]
413
                                [% IF ( item.publisheddate ) %]
418
                                [% IF ( item.publisheddate ) %]
414
                                    <span class="pubdate">([% item.publisheddate | $KohaDates %])</span>
419
                                    <span class="pubdate">([% item.publisheddate | $KohaDates %])</span>
Lines 713-719 Note that permanent location is a code, and location may be an authval. Link Here
713
                </tr>
718
                </tr>
714
            [% FOREACH latestserial IN subscription.latestserials %]
719
            [% FOREACH latestserial IN subscription.latestserials %]
715
                <tr>
720
                <tr>
716
                    <td>[% latestserial.serialseq | html %]</td>
721
                    <td>[% PROCESS numbering_patterns_i18n pattern => latestserial.serialseq %]</td>
717
                    <td data-order="[% latestserial.planneddate | html %]">[% latestserial.planneddate | $KohaDates %]</td>
722
                    <td data-order="[% latestserial.planneddate | html %]">[% latestserial.planneddate | $KohaDates %]</td>
718
                    <td data-order="[% latestserial.publisheddate | html %]">[% latestserial.publisheddate | $KohaDates %]</td>
723
                    <td data-order="[% latestserial.publisheddate | html %]">[% latestserial.publisheddate | $KohaDates %]</td>
719
                    <td>
724
                    <td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt (-1 / +2 lines)
Lines 6-11 Link Here
6
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
7
    <title>[% IF ( supplierid ) -%] Claims for [% suppliername | html %] [% END %] &rsaquo; Claims &rsaquo; Serials &rsaquo; Koha</title>
7
    <title>[% IF ( supplierid ) -%] Claims for [% suppliername | html %] [% END %] &rsaquo; Claims &rsaquo; Serials &rsaquo; Koha</title>
8
    [% INCLUDE 'doc-head-close.inc' %]
8
    [% INCLUDE 'doc-head-close.inc' %]
9
[% PROCESS 'locales/subscriptions.inc' %]
9
</head>
10
</head>
10
11
11
<body id="ser_claims" class="ser">
12
<body id="ser_claims" class="ser">
Lines 156-162 Link Here
156
                        <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% missingissue.subscriptionid | uri %]">[% missingissue.title | html %]</a>
157
                        <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% missingissue.subscriptionid | uri %]">[% missingissue.title | html %]</a>
157
                        </td>
158
                        </td>
158
                        <td>[% missingissue.issn | html %]</td>
159
                        <td>[% missingissue.issn | html %]</td>
159
                        <td>[% missingissue.serialseq | html %]</td>
160
                        <td>[% PROCESS numbering_patterns_i18n pattern => missingissue.serialseq %]</td>
160
                        <td>
161
                        <td>
161
                            [% IF ( missingissue.status1 ) %]<span class="status-expected">Expected</span>[% END %]
162
                            [% IF ( missingissue.status1 ) %]<span class="status-expected">Expected</span>[% END %]
162
                            [% IF ( missingissue.status3 ) %]<span class="status-late">Late</span>[% END %]
163
                            [% 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 ) %]Expected[% END %]
253
                    [% IF ( serial.status1 ) %]Expected[% 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 327-333 Link Here
327
                            [% FOREACH serialslis IN serialslist %]
328
                            [% FOREACH serialslis IN serialslist %]
328
                                <tr>
329
                                <tr>
329
                                    <td>
330
                                    <td>
330
                                        [% serialslis.serialseq | html %]
331
                                        [% PROCESS numbering_patterns_i18n pattern => serialslis.serialseq %]
331
                                    </td>
332
                                    </td>
332
                                    <td>
333
                                    <td>
333
                                        [% IF serialslis.planneddate %]
334
                                        [% IF serialslis.planneddate %]
334
- 

Return to bug 20511