From 9158a22a0a787e2af49fc8f1db4f25d504a3ec78 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. Signed-off-by: Owen Leonard Signed-off-by: Charles Farmer --- 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 7b4b25d..477fcfa 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 8a17653..32a4673 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -1040,6 +1040,7 @@ $(document).ready(function() { Type Comment Expiration + Created [% IF CAN_user_borrowers && CAN_user_circulate_manage_restrictions %] Remove? [% END %] @@ -1058,6 +1059,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.7.4