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 581-587 Note that permanent location is a code, and location may be an authval. Link Here
581
                </tr>
581
                </tr>
582
            [% FOREACH latestserial IN subscription.latestserials %]
582
            [% FOREACH latestserial IN subscription.latestserials %]
583
                <tr>
583
                <tr>
584
                    <td>[% latestserial.serialseq | html %]</td>
584
                    <td>
585
                        [% IF ( matches = latestserial.serialseq.match('(.*)Spring(.*)') ) %]
586
                            [% matches.0 | html %]Spring[% matches.1 | html %]
587
                        [% ELSIF ( matches = latestserial.serialseq.match('(.*)Summer(.*)') ) %]
588
                            [% matches.0 | html %]Summer[% matches.1 | html %]
589
                        [% ELSIF ( matches = latestserial.serialseq.match('(.*)Fall(.*)') ) %]
590
                            [% matches.0 | html %]Fall[% matches.1 | html %]
591
                        [% ELSIF ( matches = latestserial.serialseq.match('(.*)Winter(.*)') ) %]
592
                            [% matches.0 | html %]Winter[% matches.1 | html %]
593
                        [% ELSIF ( matches = latestserial.serialseq.match('(.*)Spr(.*)') ) %]
594
                            [% matches.0 | html %]Spr[% matches.1 | html %]
595
                        [% ELSIF ( matches = latestserial.serialseq.match('(.*)Sum(.*)') ) %]
596
                            [% matches.0 | html %]Sum[% matches.1 | html %]
597
                        [% ELSIF ( matches = latestserial.serialseq.match('(.*)Fal(.*)') ) %]
598
                            [% matches.0 | html %]Fal[% matches.1 | html %]
599
                        [% ELSIF ( matches = latestserial.serialseq.match('(.*)Win(.*)') ) %]
600
                            [% matches.0 | html %]Win[% matches.1 | html %]
601
                        [% ELSE %]
602
                            [% latestserial.serialseq | html %]
603
                        [% END %]
604
                    </td>
585
                    <td><span title="[% latestserial.planneddate | html %]">[% latestserial.planneddate | $KohaDates %]</span></td>
605
                    <td><span title="[% latestserial.planneddate | html %]">[% latestserial.planneddate | $KohaDates %]</span></td>
586
                    <td><span title="[% latestserial.publisheddate | html %]">[% latestserial.publisheddate | $KohaDates %]</span></td>
606
                    <td><span title="[% latestserial.publisheddate | html %]">[% latestserial.publisheddate | $KohaDates %]</span></td>
587
                    <td>
607
                    <td>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (-2 / +21 lines)
Lines 788-794 Link Here
788
                                        <tbody>
788
                                        <tbody>
789
                                        [% FOREACH latestserial IN subscription.latestserials %]
789
                                        [% FOREACH latestserial IN subscription.latestserials %]
790
                                            <tr>
790
                                            <tr>
791
                                                <td class="serialseq">[% latestserial.serialseq | html %]</td>
791
                                                <td class="serialseq">
792
                                                    [% IF ( matches = latestserial.serialseq.match('(.*)Spring(.*)') ) %]
793
                                                        [% matches.0 | html %]Spring[% matches.1 | html %]
794
                                                    [% ELSIF ( matches = latestserial.serialseq.match('(.*)Summer(.*)') ) %]
795
                                                        [% matches.0 | html %]Summer[% matches.1 | html %]
796
                                                    [% ELSIF ( matches = latestserial.serialseq.match('(.*)Fall(.*)') ) %]
797
                                                        [% matches.0 | html %]Fall[% matches.1 | html %]
798
                                                    [% ELSIF ( matches = latestserial.serialseq.match('(.*)Winter(.*)') ) %]
799
                                                        [% matches.0 | html %]Winter[% matches.1 | html %]
800
                                                    [% ELSIF ( matches = latestserial.serialseq.match('(.*)Spr(.*)') ) %]
801
                                                        [% matches.0 | html %]Spr[% matches.1 | html %]
802
                                                    [% ELSIF ( matches = latestserial.serialseq.match('(.*)Sum(.*)') ) %]
803
                                                        [% matches.0 | html %]Sum[% matches.1 | html %]
804
                                                    [% ELSIF ( matches = latestserial.serialseq.match('(.*)Fal(.*)') ) %]
805
                                                        [% matches.0 | html %]Fal[% matches.1 | html %]
806
                                                    [% ELSIF ( matches = latestserial.serialseq.match('(.*)Win(.*)') ) %]
807
                                                        [% matches.0 | html %]Win[% matches.1 | html %]
808
                                                    [% ELSE %]
809
                                                        [% latestserial.serialseq | html %]
810
                                                    [% END %]
811
                                                </td>
792
                                                <td class="publisheddate"><span title="[% latestserial.publisheddate | html %]">[% latestserial.publisheddate | $KohaDates %]</span></td>
812
                                                <td class="publisheddate"><span title="[% latestserial.publisheddate | html %]">[% latestserial.publisheddate | $KohaDates %]</span></td>
793
                                                <td class="planneddate"><span title="[% latestserial.planneddate | html %]">[% latestserial.planneddate | $KohaDates %]</span></td>
813
                                                <td class="planneddate"><span title="[% latestserial.planneddate | html %]">[% latestserial.planneddate | $KohaDates %]</span></td>
794
                                                <td class="serial_status">
814
                                                <td class="serial_status">
795
- 

Return to bug 24172