| 
      
            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 41-65
          
      
      
        Link Here
      
     | 
  
        
          | 41 | 
              [% FOREACH prediction IN predictions_loop %]  | 
          42 | 
              [% FOREACH prediction IN predictions_loop %]  | 
        
        
          | 42 | 
                <tr>  | 
          43 | 
                <tr>  | 
        
        
          | 43 | 
                  <td>  | 
          44 | 
                  <td>  | 
        
          
            
              | 44 | 
                          [% IF ( matches = prediction.number.match('(.*)Spring(.*)') ) %] | 
              45 | 
                          [% PROCESS localize_numbering_pattern_season season => prediction.number %]  | 
            
            
              | 45 | 
                              [% matches.0 | html %]Spring[% matches.1 | html %]  | 
               | 
               | 
            
            
              | 46 | 
                          [% ELSIF ( matches = prediction.number.match('(.*)Summer(.*)') ) %] | 
            
            
              | 47 | 
                              [% matches.0 | html %]Summer[% matches.1 | html %]  | 
            
            
              | 48 | 
                          [% ELSIF ( matches = prediction.number.match('(.*)Fall(.*)') ) %] | 
            
            
              | 49 | 
                              [% matches.0 | html %]Fall[% matches.1 | html %]  | 
            
            
              | 50 | 
                          [% ELSIF ( matches = prediction.number.match('(.*)Winter(.*)') ) %] | 
            
            
              | 51 | 
                              [% matches.0 | html %]Winter[% matches.1 | html %]  | 
            
            
              | 52 | 
                          [% ELSIF ( matches = prediction.number.match('(.*)Spr(.*)') ) %] | 
            
            
              | 53 | 
                              [% matches.0 | html %]Spr[% matches.1 | html %]  | 
            
            
              | 54 | 
                          [% ELSIF ( matches = prediction.number.match('(.*)Sum(.*)') ) %] | 
            
            
              | 55 | 
                              [% matches.0 | html %]Sum[% matches.1 | html %]  | 
            
            
              | 56 | 
                          [% ELSIF ( matches = prediction.number.match('(.*)Fal(.*)') ) %] | 
            
            
              | 57 | 
                              [% matches.0 | html %]Fal[% matches.1 | html %]  | 
            
            
              | 58 | 
                          [% ELSIF ( matches = prediction.number.match('(.*)Win(.*)') ) %] | 
            
            
              | 59 | 
                              [% matches.0 | html %]Win[% matches.1 | html %]  | 
            
            
              | 60 | 
                          [% ELSE %]  | 
            
            
              | 61 | 
                              [% prediction.number | html %]  | 
            
            
              | 62 | 
                          [% END %]  | 
            
        
          | 63 | 
                  </td>  | 
          46 | 
                  </td>  | 
        
        
          | 64 | 
                  <td>  | 
          47 | 
                  <td>  | 
        
        
          | 65 | 
                    [% IF (prediction.publicationdate) %]  | 
          48 | 
                    [% IF (prediction.publicationdate) %]  |