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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-1 / +21 lines)
Lines 550-556 Link Here
550
                </tr>
550
                </tr>
551
            [% FOREACH latestserial IN subscription.latestserials %]
551
            [% FOREACH latestserial IN subscription.latestserials %]
552
                <tr>
552
                <tr>
553
                    <td>[% latestserial.serialseq | html %]</td>
553
                    <td>
554
                        [% IF ( matches = latestserial.serialseq.match('(.*)Spring(.*)') ) %]
555
                            [% matches.0 | html %]Spring[% matches.1 | html %]
556
                        [% ELSIF ( matches = latestserial.serialseq.match('(.*)Summer(.*)') ) %]
557
                            [% matches.0 | html %]Summer[% matches.1 | html %]
558
                        [% ELSIF ( matches = latestserial.serialseq.match('(.*)Fall(.*)') ) %]
559
                            [% matches.0 | html %]Fall[% matches.1 | html %]
560
                        [% ELSIF ( matches = latestserial.serialseq.match('(.*)Winter(.*)') ) %]
561
                            [% matches.0 | html %]Winter[% matches.1 | html %]
562
                        [% ELSIF ( matches = latestserial.serialseq.match('(.*)Spr(.*)') ) %]
563
                            [% matches.0 | html %]Spr[% matches.1 | html %]
564
                        [% ELSIF ( matches = latestserial.serialseq.match('(.*)Sum(.*)') ) %]
565
                            [% matches.0 | html %]Sum[% matches.1 | html %]
566
                        [% ELSIF ( matches = latestserial.serialseq.match('(.*)Fal(.*)') ) %]
567
                            [% matches.0 | html %]Fal[% matches.1 | html %]
568
                        [% ELSIF ( matches = latestserial.serialseq.match('(.*)Win(.*)') ) %]
569
                            [% matches.0 | html %]Win[% matches.1 | html %]
570
                        [% ELSE %]
571
                            [% latestserial.serialseq | html %]
572
                        [% END %]
573
                    </td>
554
                    <td><span title="[% latestserial.planneddate | html %]">[% latestserial.planneddate | $KohaDates %]</span></td>
574
                    <td><span title="[% latestserial.planneddate | html %]">[% latestserial.planneddate | $KohaDates %]</span></td>
555
                    <td><span title="[% latestserial.publisheddate | html %]">[% latestserial.publisheddate | $KohaDates %]</span></td>
575
                    <td><span title="[% latestserial.publisheddate | html %]">[% latestserial.publisheddate | $KohaDates %]</span></td>
556
                    <td>
576
                    <td>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (-2 / +21 lines)
Lines 864-870 Link Here
864
                                        <tbody>
864
                                        <tbody>
865
                                        [% FOREACH latestserial IN subscription.latestserials %]
865
                                        [% FOREACH latestserial IN subscription.latestserials %]
866
                                            <tr>
866
                                            <tr>
867
                                                <td class="serialseq">[% latestserial.serialseq | html %]</td>
867
                                                <td class="serialseq">
868
                                                    [% IF ( matches = latestserial.serialseq.match('(.*)Spring(.*)') ) %]
869
                                                        [% matches.0 | html %]Spring[% matches.1 | html %]
870
                                                    [% ELSIF ( matches = latestserial.serialseq.match('(.*)Summer(.*)') ) %]
871
                                                        [% matches.0 | html %]Summer[% matches.1 | html %]
872
                                                    [% ELSIF ( matches = latestserial.serialseq.match('(.*)Fall(.*)') ) %]
873
                                                        [% matches.0 | html %]Fall[% matches.1 | html %]
874
                                                    [% ELSIF ( matches = latestserial.serialseq.match('(.*)Winter(.*)') ) %]
875
                                                        [% matches.0 | html %]Winter[% matches.1 | html %]
876
                                                    [% ELSIF ( matches = latestserial.serialseq.match('(.*)Spr(.*)') ) %]
877
                                                        [% matches.0 | html %]Spr[% matches.1 | html %]
878
                                                    [% ELSIF ( matches = latestserial.serialseq.match('(.*)Sum(.*)') ) %]
879
                                                        [% matches.0 | html %]Sum[% matches.1 | html %]
880
                                                    [% ELSIF ( matches = latestserial.serialseq.match('(.*)Fal(.*)') ) %]
881
                                                        [% matches.0 | html %]Fal[% matches.1 | html %]
882
                                                    [% ELSIF ( matches = latestserial.serialseq.match('(.*)Win(.*)') ) %]
883
                                                        [% matches.0 | html %]Win[% matches.1 | html %]
884
                                                    [% ELSE %]
885
                                                        [% latestserial.serialseq | html %]
886
                                                    [% END %]
887
                                                </td>
868
                                                <td class="publisheddate"><span title="[% latestserial.publisheddate | html %]">[% latestserial.publisheddate | $KohaDates %]</span></td>
888
                                                <td class="publisheddate"><span title="[% latestserial.publisheddate | html %]">[% latestserial.publisheddate | $KohaDates %]</span></td>
869
                                                <td class="planneddate"><span title="[% latestserial.planneddate | html %]">[% latestserial.planneddate | $KohaDates %]</span></td>
889
                                                <td class="planneddate"><span title="[% latestserial.planneddate | html %]">[% latestserial.planneddate | $KohaDates %]</span></td>
870
                                                <td class="serial_status">
890
                                                <td class="serial_status">
871
- 

Return to bug 24172