| Lines 8-13
          
      
      
        Link Here | 
        
          | 8 | [% USE AuthorisedValues %] | 8 | [% USE AuthorisedValues %] | 
        
          | 9 | [% USE Price %] | 9 | [% USE Price %] | 
        
          | 10 | [% SET footerjs = 1 %] | 10 | [% SET footerjs = 1 %] | 
            
              |  |  | 11 | [% PROCESS 'i18n.inc' %] | 
        
          | 11 | [% INCLUDE 'doc-head-open.inc' %] | 12 | [% INCLUDE 'doc-head-open.inc' %] | 
        
          | 12 | [% UNLESS ( multi_hold ) %] | 13 | [% UNLESS ( multi_hold ) %] | 
        
          | 13 |     <title>Koha › Circulation › Holds › Place a hold on [% INCLUDE 'biblio-title-head.inc' %]</title> | 14 |     <title>Koha › Circulation › Holds › Place a hold on [% INCLUDE 'biblio-title-head.inc' %]</title> | 
  
    | Lines 39-69
          
      
      
        Link Here | 
        
          | 39 | <div class="main container-fluid"> | 40 | <div class="main container-fluid"> | 
        
          | 40 |     <div class="row"> | 41 |     <div class="row"> | 
        
          | 41 |  | 42 |  | 
          
            
              | 42 |         <div class="modal fade" id="TODOmyModal" tabindex="-1" role="dialog" aria-labelledby="TODOmyModalLabel"> | 43 |         <div class="modal fade" id="holdruleschecker" tabindex="-1" role="dialog" aria-labelledby="holdruleschecker"> | 
        
          | 43 |             <div class="modal-dialog" role="document"> | 44 |             <div class="modal-dialog" role="document"> | 
        
          | 44 |                 <div class="modal-content"> | 45 |                 <div class="modal-content"> | 
        
          | 45 |                     <div class="modal-header"> | 46 |                     <div class="modal-header"> | 
          
            
              | 46 |                         <h4 class="modal-title" id="myModalLabel">Holding rules</h4> | 47 |                         <h4 class="modal-title" id="holdrulestitle">[% t('Holding rules') %]</h4> | 
        
          | 47 |                     </div> | 48 |                     </div> | 
        
          | 48 |                     <div class="modal-body"> | 49 |                     <div class="modal-body"> | 
        
          | 49 |                         <div> | 50 |                         <div> | 
          
            
              | 50 |                             <h4>Overall info</h4> | 51 |                             <h4>[% t('Overall info') %]</h4> | 
        
          | 51 |                                 <ul> | 52 |                                 <ul> | 
        
          | 52 |                                     <li> | 53 |                                     <li> | 
          
            
              | 53 |                                         Patron has <strong>[% reserves_count | html %]</strong> hold(s) and this request would raise the number to <strong>[% new_reserves_count + reserves_count | html %]</strong>. | 54 |                                         [% tx('Patron has <strong>{reserves_count}</strong> hold(s) and this request would raise the number to <strong>{new_reserves_count}</strong>.', { reserves_count = reserves_count , new_reserves_count = new_reserves_count + reserves_count } ) %] | 
        
          | 54 |                                     </li> | 55 |                                     </li> | 
        
          | 55 |                                     <li> | 56 |                                     <li> | 
        
          | 56 |                                         <span [% IF reserves_count >= Koha.Preference('maxreserves') %] class="text-danger" [% END %]> | 57 |                                         <span [% IF reserves_count >= Koha.Preference('maxreserves') %] class="text-danger" [% END %]> | 
          
            
              | 57 |                                             <i>maxreserves</i> preference: <strong>[% Koha.Preference('maxreserves') | html %]</strong> | 58 |                                             <i>[% t('maxreserves') %]</i> [% t('preference') %]: <strong>[% Koha.Preference('maxreserves') | html %]</strong> | 
        
          | 58 |                                         </span> | 59 |                                         </span> | 
        
          | 59 |                                     </li> | 60 |                                     </li> | 
        
          | 60 |                                     <li> | 61 |                                     <li> | 
          
            
              | 61 |                                         <i>ReservesControlBranch</i> preference: <strong>[% Koha.Preference('ReservesControlBranch') | html %]</strong> <!-- TODO make translatable --> | 62 |                                         <i>[% t('ReservesControlBranch') %]</i> [% t('preference') %]: <strong>[% Koha.Preference('ReservesControlBranch') | html %]</strong> | 
        
          | 62 |                                     </li | 63 |                                     </li | 
        
          | 63 |                                 </ul> | 64 |                                 </ul> | 
        
          | 64 |                         </div> | 65 |                         </div> | 
        
          | 65 |  | 66 |  | 
          
            
              | 66 |                         <h4>Per record info</h4> | 67 |                         <h4>[% t('Per record info') %]</h4> | 
        
          | 67 |                         <div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true"> | 68 |                         <div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true"> | 
        
          | 68 |  | 69 |  | 
        
          | 69 |                             [% FOREACH element IN whyicantreserve %] | 70 |                             [% FOREACH element IN whyicantreserve %] | 
  
    | Lines 79-93
          
      
      
        Link Here | 
        
          | 79 |                                         <div class="panel-body"> | 80 |                                         <div class="panel-body"> | 
        
          | 80 |  | 81 |  | 
        
          | 81 |                                             <div id="elements-to-reserve-details"> | 82 |                                             <div id="elements-to-reserve-details"> | 
          
            
              | 82 |                                                 <h5>Matched circulation rule:</h5> | 83 |                                                 <h5>[% t('Matched circulation rule:') %]</h5> | 
        
          | 83 |                                                 <table> | 84 |                                                 <table> | 
        
          | 84 |                                                     <tr> | 85 |                                                     <tr> | 
          
            
              | 85 |                                                         <th>Library</th> | 86 |                                                         <th>[% t('Library') %]</th> | 
            
              | 86 |                                                         <th>Category</th> | 87 |                                                         <th>[% t('Category') %]</th> | 
            
              | 87 |                                                         <th>Item type</th> | 88 |                                                         <th>[% t('Item type') %]</th> | 
            
              | 88 |                                                         <th>Holds</th> | 89 |                                                         <th>[% t('Holds') %]</th> | 
            
              | 89 |                                                         <th>Holds per record</th> | 90 |                                                         <th>[% t('Holds per record') %]</th> | 
            
              | 90 |                                                         <th>Holds per day</th> | 91 |                                                         <th>[% t('Holds per day') %]</th> | 
        
          | 91 |                                                     </tr> | 92 |                                                     </tr> | 
        
          | 92 |                                                     <tr> | 93 |                                                     <tr> | 
        
          | 93 |                                                         <td> | 94 |                                                         <td> | 
  
    | Lines 124-136
          
      
      
        Link Here | 
        
          | 124 |                                                     </tr> | 125 |                                                     </tr> | 
        
          | 125 |                                                 </table> | 126 |                                                 </table> | 
        
          | 126 |  | 127 |  | 
          
            
              | 127 |                                                 <h5>Matched hold policy:</h5> | 128 |                                                 <h5>[% t('Matched hold policy:') %]</h5> | 
        
          | 128 |  | 129 |  | 
        
          | 129 |                                                 <table> | 130 |                                                 <table> | 
        
          | 130 |                                                     <tr> | 131 |                                                     <tr> | 
          
            
              | 131 |                                                         <th>Library</th> | 132 |                                                         <th>[% t('Library') %]</th> | 
            
              | 132 |                                                         <th>Category</th> | 133 |                                                         <th>[% t('Category') %]</th> | 
            
              | 133 |                                                         <th>Holds</th> | 134 |                                                         <th>[% t('Holds') %]</th> | 
        
          | 134 |                                                     </tr> | 135 |                                                     </tr> | 
        
          | 135 |                                                     <tr> | 136 |                                                     <tr> | 
        
          | 136 |                                                         [% IF element.circulation_rule %] | 137 |                                                         [% IF element.circulation_rule %] | 
  
    | Lines 149-155
          
      
      
        Link Here | 
        
          | 149 |                                                                 [% element.circulation_rule.rule_value || 'unlimited' | html %] | 150 |                                                                 [% element.circulation_rule.rule_value || 'unlimited' | html %] | 
        
          | 150 |                                                             </td> | 151 |                                                             </td> | 
        
          | 151 |                                                         [% ELSE %] | 152 |                                                         [% ELSE %] | 
          
            
              | 152 |                                                             <td colspan="3">No rule matched</td> | 153 |                                                             <td colspan="3">[% t('No rule matched') %]</td> | 
        
          | 153 |                                                         [% END %] | 154 |                                                         [% END %] | 
        
          | 154 |                                                     </tr> | 155 |                                                     </tr> | 
        
          | 155 |                                                 </table> | 156 |                                                 </table> | 
  
    | Lines 162-168
          
      
      
        Link Here | 
        
          | 162 |                         </div> | 163 |                         </div> | 
        
          | 163 |                     </div> | 164 |                     </div> | 
        
          | 164 |                     <div class="modal-footer"> | 165 |                     <div class="modal-footer"> | 
          
            
              | 165 |                         <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> | 166 |                         <button type="button" class="btn btn-default" data-dismiss="modal">[% t('Close') %]</button> | 
        
          | 166 |                     </div> | 167 |                     </div> | 
        
          | 167 |                 </div> | 168 |                 </div> | 
        
          | 168 |             </div> | 169 |             </div> | 
  
    | Lines 205-212
          
      
      
        Link Here | 
        
          | 205 |                 [% END %] | 206 |                 [% END %] | 
        
          | 206 |  | 207 |  | 
        
          | 207 |                 [% IF whyicantreserve %] | 208 |                 [% IF whyicantreserve %] | 
          
            
              | 208 |                     <button type="button" class="btn btn-info btn-sm" data-toggle="modal" data-target="#TODOmyModal"> | 209 |                     <button type="button" class="btn btn-info btn-sm" data-toggle="modal" data-target="#holdruleschecker"> | 
            
              | 209 |                         Show holding rules | 210 |                         [% t('Show holding rules') %] | 
        
          | 210 |                     </button> | 211 |                     </button> | 
        
          | 211 |                 [% END %] | 212 |                 [% END %] | 
        
          | 212 |             </h1> | 213 |             </h1> | 
            
              | 213 | -  |  |  |