View | Details | Raw Unified | Return to bug 27439
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt (-10 / +13 lines)
Lines 161-177 Link Here
161
                <option value=""></option>
161
                <option value=""></option>
162
                [% PROCESS options_for_authorised_value_categories authorised_value_categories => AuthorisedValues.GetCategories( selected => attribute_type.authorised_value_category ) %]
162
                [% PROCESS options_for_authorised_value_categories authorised_value_categories => AuthorisedValues.GetCategories( selected => attribute_type.authorised_value_category ) %]
163
            </select>
163
            </select>
164
            <span>Authorized value category; if one is selected, the patron record input page will only allow values 
164
            <div class="hint">Authorized value category; if one is selected, the patron record input page will only allow values to be chosen from the authorized value list.  However, an authorized value list is not enforced during batch patron import.</div>
165
                  to be chosen from the authorized value list.  However, an authorized value list is not 
166
                  enforced during batch patron import.</span>
167
        </li>
165
        </li>
168
        <li><label for="branches">Branches limitation: </label>
166
        <li><label for="branches">Library limitation: </label>
169
            <select id="branches" name="branches" multiple size="10">
167
            <select id="branches" name="branches" multiple size="10">
170
                <option value="">All branches</option>
168
                <option value="">All libraries</option>
171
                [% PROCESS options_for_libraries libraries => Branches.all( selecteds => attribute_type.library_limits ) %]
169
                [% PROCESS options_for_libraries libraries => Branches.all( selecteds => attribute_type.library_limits ) %]
172
            </select>
170
            </select>
173
            <span>Select All if this attribute type must to be displayed all the time. Otherwise select libraries you want to associate with this value.
171
            <div class="hint">Select "All libraries" if this attribute type should always be displayed. Otherwise select libraries you want to associate with this value.
174
            </span>
172
            </div>
175
        </li>
173
        </li>
176
        <li>
174
        <li>
177
            <label for="category">Category: </label>
175
            <label for="category">Category: </label>
Lines 181-192 Link Here
181
                    [% IF ( cat.categorycode == attribute_type.category_code ) %]<option value="[% cat.categorycode | html %]" selected="selected">[% cat.description |html %]</option>[% ELSE %]<option value="[% cat.categorycode | html %]">[% cat.description |html %]</option>[% END %]
179
                    [% IF ( cat.categorycode == attribute_type.category_code ) %]<option value="[% cat.categorycode | html %]" selected="selected">[% cat.description |html %]</option>[% ELSE %]<option value="[% cat.categorycode | html %]">[% cat.description |html %]</option>[% END %]
182
                [% END %]
180
                [% END %]
183
            </select>
181
            </select>
184
            <span>Choose one to limit this attribute to one patron type. Please leave blank if you want these attributes to be available for all types of patrons.</span>
182
            <div class="hint">Choose one to limit this attribute to one patron type. Please leave blank if you want these attributes to be available for all types of patrons.</div>
185
        </li>
183
        </li>
186
        <li>
184
        <li>
187
            <label for="class">Class: </label>
185
            <label for="class">Class: </label>
188
            [% PROCESS 'av-build-dropbox.inc' name="class", category="PA_CLASS" default=attribute_type.class %]
186
            [% PROCESS 'av-build-dropbox.inc' name="class", category="PA_CLASS" default=attribute_type.class %]
189
            <span>Group attributes types with a block title (based on authorized values category 'PA_CLASS')</span>
187
            <div class="hint">
188
                [% IF ( CAN_user_parameters_manage_auth_values ) %]
189
                    Group attributes types with a block title (based on <a target="_blank" href="/cgi-bin/koha/admin/authorised_values.pl?searchfield=PA_CLASS">authorized values category 'PA_CLASS'</a>)
190
                [% ELSE %]
191
                    Group attributes types with a block title (based on authorized values category 'PA_CLASS')
192
                [% END %]
193
            </div>
190
        </li>
194
        </li>
191
    </ol>
195
    </ol>
192
  </fieldset>
196
  </fieldset>
193
- 

Return to bug 27439