From db2e636855c699a07c024223b2241159c5a9f4f3 Mon Sep 17 00:00:00 2001 From: David Gustafsson Date: Mon, 16 Oct 2017 11:03:55 +0200 Subject: [PATCH] Bug 19471: Show creation date in patron restrictions list Test plan: 1. Go to the "Details" vertical tab of a patron. 2. Click the "Restriction" tab in the bottom and add a manual restriction. 3. Verify a creation date is visible. 4. Edit the same patron. 5. Under "Patron restrictions" verify the creation date of the listed restiction is visible. --- koha-tmpl/intranet-tmpl/prog/en/includes/borrower_debarments.inc | 2 ++ koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt | 2 ++ 2 files changed, 4 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/borrower_debarments.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/borrower_debarments.inc index 7b4b25d7d1..477fcfab18 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/borrower_debarments.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/borrower_debarments.inc @@ -36,6 +36,7 @@ Type Comment Expiration + Created [% IF CAN_user_borrowers && CAN_user_circulate_manage_restrictions %]   [% END %] @@ -64,6 +65,7 @@ [% END %] [% IF d.expiration %] [% d.expiration | $KohaDates %] [% ELSE %] Indefinite [% END %] + [% d.created | $KohaDates %] [% IF CAN_user_borrowers && CAN_user_circulate_manage_restrictions %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt index 091486efca..2e2cf9b5e4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -990,6 +990,7 @@ $(document).ready(function() { Type Comment Expiration + Created [% IF CAN_user_borrowers && CAN_user_circulate_manage_restrictions %] Remove? [% END %] @@ -1008,6 +1009,7 @@ $(document).ready(function() { [% END %] [% IF d.expiration %] [% d.expiration | $KohaDates %] [% ELSE %] Indefinite [% END %] + [% d.created | $KohaDates %] [% IF CAN_user_borrowers && CAN_user_circulate_manage_restrictions %] -- 2.11.0