Lines 770-776
Link Here
|
770 |
<tbody> |
770 |
<tbody> |
771 |
[% FOREACH latestserial IN subscription.latestserials %] |
771 |
[% FOREACH latestserial IN subscription.latestserials %] |
772 |
<tr> |
772 |
<tr> |
773 |
<td class="serialseq">[% latestserial.serialseq | html %]</td> |
773 |
<td class="serialseq"> |
|
|
774 |
[% IF ( matches = latestserial.serialseq.match('(.*)Spring(.*)') ) %] |
775 |
[% matches.0 | html %]Spring[% matches.1 | html %] |
776 |
[% ELSIF ( matches = latestserial.serialseq.match('(.*)Summer(.*)') ) %] |
777 |
[% matches.0 | html %]Summer[% matches.1 | html %] |
778 |
[% ELSIF ( matches = latestserial.serialseq.match('(.*)Fall(.*)') ) %] |
779 |
[% matches.0 | html %]Fall[% matches.1 | html %] |
780 |
[% ELSIF ( matches = latestserial.serialseq.match('(.*)Winter(.*)') ) %] |
781 |
[% matches.0 | html %]Winter[% matches.1 | html %] |
782 |
[% ELSIF ( matches = latestserial.serialseq.match('(.*)Spr(.*)') ) %] |
783 |
[% matches.0 | html %]Spr[% matches.1 | html %] |
784 |
[% ELSIF ( matches = latestserial.serialseq.match('(.*)Sum(.*)') ) %] |
785 |
[% matches.0 | html %]Sum[% matches.1 | html %] |
786 |
[% ELSIF ( matches = latestserial.serialseq.match('(.*)Fal(.*)') ) %] |
787 |
[% matches.0 | html %]Fal[% matches.1 | html %] |
788 |
[% ELSIF ( matches = latestserial.serialseq.match('(.*)Win(.*)') ) %] |
789 |
[% matches.0 | html %]Win[% matches.1 | html %] |
790 |
[% ELSE %] |
791 |
[% latestserial.serialseq | html %] |
792 |
[% END %] |
793 |
</td> |
774 |
<td class="publisheddate" data-order="[% latestserial.publisheddate | html %]">[% latestserial.publisheddate | $KohaDates %]</td> |
794 |
<td class="publisheddate" data-order="[% latestserial.publisheddate | html %]">[% latestserial.publisheddate | $KohaDates %]</td> |
775 |
<td class="planneddate" data-order="[% latestserial.planneddate | html %]">[% latestserial.planneddate | $KohaDates %]</td> |
795 |
<td class="planneddate" data-order="[% latestserial.planneddate | html %]">[% latestserial.planneddate | $KohaDates %]</td> |
776 |
<td class="serial_status"> |
796 |
<td class="serial_status"> |
777 |
- |
|
|