|
Lines 1-4
Link Here
|
| 1 |
[% USE KohaDates %] |
1 |
[% USE KohaDates %] |
|
|
2 |
[% PROCESS 'localizer.inc' %] |
| 2 |
<h2>Prediction pattern</h2> |
3 |
<h2>Prediction pattern</h2> |
| 3 |
[% IF (not_consistent_end_date) %] |
4 |
[% IF (not_consistent_end_date) %] |
| 4 |
<p><em>End date is not consistent with subscription length.</em></p> |
5 |
<p><em>End date is not consistent with subscription length.</em></p> |
|
Lines 37-63
Link Here
|
| 37 |
<tbody> |
38 |
<tbody> |
| 38 |
[% FOREACH prediction IN predictions_loop %] |
39 |
[% FOREACH prediction IN predictions_loop %] |
| 39 |
<tr> |
40 |
<tr> |
| 40 |
<td> |
41 |
<td> [% PROCESS localize_numbering_pattern_season season => prediction.number %] </td> |
| 41 |
[% IF ( matches = prediction.number.match('(.*)Spring(.*)') ) %] |
|
|
| 42 |
[% matches.0 | html %]Spring[% matches.1 | html %] |
| 43 |
[% ELSIF ( matches = prediction.number.match('(.*)Summer(.*)') ) %] |
| 44 |
[% matches.0 | html %]Summer[% matches.1 | html %] |
| 45 |
[% ELSIF ( matches = prediction.number.match('(.*)Fall(.*)') ) %] |
| 46 |
[% matches.0 | html %]Fall[% matches.1 | html %] |
| 47 |
[% ELSIF ( matches = prediction.number.match('(.*)Winter(.*)') ) %] |
| 48 |
[% matches.0 | html %]Winter[% matches.1 | html %] |
| 49 |
[% ELSIF ( matches = prediction.number.match('(.*)Spr(.*)') ) %] |
| 50 |
[% matches.0 | html %]Spr[% matches.1 | html %] |
| 51 |
[% ELSIF ( matches = prediction.number.match('(.*)Sum(.*)') ) %] |
| 52 |
[% matches.0 | html %]Sum[% matches.1 | html %] |
| 53 |
[% ELSIF ( matches = prediction.number.match('(.*)Fal(.*)') ) %] |
| 54 |
[% matches.0 | html %]Fal[% matches.1 | html %] |
| 55 |
[% ELSIF ( matches = prediction.number.match('(.*)Win(.*)') ) %] |
| 56 |
[% matches.0 | html %]Win[% matches.1 | html %] |
| 57 |
[% ELSE %] |
| 58 |
[% prediction.number | html %] |
| 59 |
[% END %] |
| 60 |
</td> |
| 61 |
<td> |
42 |
<td> |
| 62 |
[% IF (prediction.publicationdate) %] |
43 |
[% IF (prediction.publicationdate) %] |
| 63 |
[% prediction.publicationdate | $KohaDates %] |
44 |
[% prediction.publicationdate | $KohaDates %] |