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 790-796 Note that permanent location is a code, and location may be an authval. Link Here
790
                </tr>
790
                </tr>
791
            [% FOREACH latestserial IN subscription.latestserials %]
791
            [% FOREACH latestserial IN subscription.latestserials %]
792
                <tr>
792
                <tr>
793
                    <td>[% latestserial.serialseq | html %]</td>
793
                    <td>
794
                        [% IF ( matches = latestserial.serialseq.match('(.*)Spring(.*)') ) %]
795
                            [% matches.0 | html %]Spring[% matches.1 | html %]
796
                        [% ELSIF ( matches = latestserial.serialseq.match('(.*)Summer(.*)') ) %]
797
                            [% matches.0 | html %]Summer[% matches.1 | html %]
798
                        [% ELSIF ( matches = latestserial.serialseq.match('(.*)Fall(.*)') ) %]
799
                            [% matches.0 | html %]Fall[% matches.1 | html %]
800
                        [% ELSIF ( matches = latestserial.serialseq.match('(.*)Winter(.*)') ) %]
801
                            [% matches.0 | html %]Winter[% matches.1 | html %]
802
                        [% ELSIF ( matches = latestserial.serialseq.match('(.*)Spr(.*)') ) %]
803
                            [% matches.0 | html %]Spr[% matches.1 | html %]
804
                        [% ELSIF ( matches = latestserial.serialseq.match('(.*)Sum(.*)') ) %]
805
                            [% matches.0 | html %]Sum[% matches.1 | html %]
806
                        [% ELSIF ( matches = latestserial.serialseq.match('(.*)Fal(.*)') ) %]
807
                            [% matches.0 | html %]Fal[% matches.1 | html %]
808
                        [% ELSIF ( matches = latestserial.serialseq.match('(.*)Win(.*)') ) %]
809
                            [% matches.0 | html %]Win[% matches.1 | html %]
810
                        [% ELSE %]
811
                            [% latestserial.serialseq | html %]
812
                        [% END %]
813
                    </td>
794
                    <td data-order="[% latestserial.planneddate | html %]">[% latestserial.planneddate | $KohaDates %]</td>
814
                    <td data-order="[% latestserial.planneddate | html %]">[% latestserial.planneddate | $KohaDates %]</td>
795
                    <td data-order="[% latestserial.publisheddate | html %]">[% latestserial.publisheddate | $KohaDates %]</td>
815
                    <td data-order="[% latestserial.publisheddate | html %]">[% latestserial.publisheddate | $KohaDates %]</td>
796
                    <td>
816
                    <td>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (-2 / +21 lines)
Lines 761-767 Link Here
761
                                                <tbody>
761
                                                <tbody>
762
                                                    [% FOREACH latestserial IN subscription.latestserials %]
762
                                                    [% FOREACH latestserial IN subscription.latestserials %]
763
                                                        <tr>
763
                                                        <tr>
764
                                                            <td class="serialseq">[% latestserial.serialseq | html %]</td>
764
                                                            <td class="serialseq">
765
                                                                [% IF ( matches = latestserial.serialseq.match('(.*)Spring(.*)') ) %]
766
                                                                    [% matches.0 | html %]Spring[% matches.1 | html %]
767
                                                                [% ELSIF ( matches = latestserial.serialseq.match('(.*)Summer(.*)') ) %]
768
                                                                    [% matches.0 | html %]Summer[% matches.1 | html %]
769
                                                                [% ELSIF ( matches = latestserial.serialseq.match('(.*)Fall(.*)') ) %]
770
                                                                    [% matches.0 | html %]Fall[% matches.1 | html %]
771
                                                                [% ELSIF ( matches = latestserial.serialseq.match('(.*)Winter(.*)') ) %]
772
                                                                    [% matches.0 | html %]Winter[% matches.1 | html %]
773
                                                                [% ELSIF ( matches = latestserial.serialseq.match('(.*)Spr(.*)') ) %]
774
                                                                    [% matches.0 | html %]Spr[% matches.1 | html %]
775
                                                                [% ELSIF ( matches = latestserial.serialseq.match('(.*)Sum(.*)') ) %]
776
                                                                    [% matches.0 | html %]Sum[% matches.1 | html %]
777
                                                                [% ELSIF ( matches = latestserial.serialseq.match('(.*)Fal(.*)') ) %]
778
                                                                    [% matches.0 | html %]Fal[% matches.1 | html %]
779
                                                                [% ELSIF ( matches = latestserial.serialseq.match('(.*)Win(.*)') ) %]
780
                                                                    [% matches.0 | html %]Win[% matches.1 | html %]
781
                                                                [% ELSE %]
782
                                                                    [% latestserial.serialseq | html %]
783
                                                                [% END %]
784
                                                            </td>
765
                                                            <td class="publisheddate" data-order="[% latestserial.publisheddate | html %]">[% latestserial.publisheddate | $KohaDates %]</td>
785
                                                            <td class="publisheddate" data-order="[% latestserial.publisheddate | html %]">[% latestserial.publisheddate | $KohaDates %]</td>
766
                                                            <td class="planneddate" data-order="[% latestserial.planneddate | html %]">[% latestserial.planneddate | $KohaDates %]</td>
786
                                                            <td class="planneddate" data-order="[% latestserial.planneddate | html %]">[% latestserial.planneddate | $KohaDates %]</td>
767
                                                            <td class="serial_status">
787
                                                            <td class="serial_status">
768
- 

Return to bug 24172