@@ -, +, @@ 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 %]

[% attribute.lib | html %]

[% END %] - +
- - + + + + @@ -315,15 +317,28 @@ Patron attribute types › Administration › Koha [% END %] [% IF libraries.count > 1 %] - [% libraries.count | html %] branches limitations + [% libraries.count | html %] library limitations [% ELSE %] - [% libraries.count | html %] branch limitation + [% libraries.count | html %] library limitation [% END %] [% ELSE %] No limitation [% END %] + + [% ELSE %] + [% item.authorised_value_category | html %] + [% END %] +
Code DescriptionBranches limitationActionsLibrary limitationAuthorized value categoryMandatoryActions
+ [% IF ( CAN_user_parameters_manage_auth_values ) %] + [% item.authorised_value_category | html %] + [% 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 %] --