@@ -, +, @@ attribute types management - If necessary, add multiple patron attributes so that there is data to display. Include: - Some which are mandatory - Some which are linked to an authorized value category - Some which share a class. - The tables showing your attributes should each have DataTables sorting and controls (except for column configuration, which isn't added by this patch). - Confirm that DataTable controls work correctly for each table. - The table should include columns showing authorized value category and whether the attribute is mandatory. - If you are logged in as a user with permission to manage authorized values, the data in the authorized value category column should be linked to that category on the authorized values page. --- .../en/modules/admin/patron-attr-types.tt | 35 ++++++++++++++++--- 1 file changed, 30 insertions(+), 5 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt @@ -292,13 +292,15 @@ Patron attribute types › Administration › Koha [% IF attribute.class %]
Code | Description | -Branches limitation | -Actions | +Library limitation | +Authorized value category | +Mandatory | +Actions | + [% IF ( CAN_user_parameters_manage_auth_values ) %] + [% item.authorised_value_category | html %] | + [% ELSE %] + [% item.authorised_value_category | html %] + [% END %] ++ [% IF ( item.mandatory ) -%] + Yes + [% ELSE -%] + No + [% END %] + | Edit Delete @@ -353,6 +368,8 @@ Patron attribute types › Administration › Koha [% MACRO jsinclude BLOCK %] [% Asset.js("js/admin-menu.js") | $raw %] + [% INCLUDE 'datatables.inc' %] + [% INCLUDE 'columns_settings.inc' %] [% END %] -- |
---|