Bugzilla – Attachment 68180 Details for
Bug 19471
Show creation date in patron restrictions list
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19471: Show creation date in patron restrictions list
Bug-19471-Show-creation-date-in-patron-restriction.patch (text/plain), 3.42 KB, created by
Owen Leonard
on 2017-10-16 14:07:03 UTC
(
hide
)
Description:
Bug 19471: Show creation date in patron restrictions list
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2017-10-16 14:07:03 UTC
Size:
3.42 KB
patch
obsolete
>From c17c513ac4c53255b562a8721cd6c1cbb58a1d50 Mon Sep 17 00:00:00 2001 >From: David Gustafsson <david.gustafsson@ub.gu.se> >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 <oleonard@myacpl.org> >--- > 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 @@ > <th>Type</th> > <th>Comment</th> > <th>Expiration</th> >+ <th>Created</th> > [% IF CAN_user_borrowers && CAN_user_circulate_manage_restrictions %] > <th> </th> > [% END %] >@@ -64,6 +65,7 @@ > [% END %] > </td> > <td>[% IF d.expiration %] [% d.expiration | $KohaDates %] [% ELSE %] <i>Indefinite</i> [% END %]</td> >+ <td>[% d.created | $KohaDates %]</td> > [% IF CAN_user_borrowers && CAN_user_circulate_manage_restrictions %] > <td> > <a class="remove_restriction btn btn-default btn-xs" href="/cgi-bin/koha/members/mod_debarment.pl?borrowernumber=[% borrowernumber %]&borrower_debarment_id=[% d.borrower_debarment_id %]&action=del"> >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 6d8ddc0..38c91d1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >@@ -1012,6 +1012,7 @@ $(document).ready(function() { > <th>Type</th> > <th>Comment</th> > <th>Expiration</th> >+ <th>Created</th> > [% IF CAN_user_borrowers && CAN_user_circulate_manage_restrictions %] > <th>Remove?</th> > [% END %] >@@ -1030,6 +1031,7 @@ $(document).ready(function() { > [% END %] > </td> > <td>[% IF d.expiration %] [% d.expiration | $KohaDates %] [% ELSE %] <i>Indefinite</i> [% END %]</td> >+ <td>[% d.created | $KohaDates %]</td> > [% IF CAN_user_borrowers && CAN_user_circulate_manage_restrictions %] > <td> > <input type="checkbox" id="debarment_[% d.borrower_debarment_id %]" name="remove_debarment" value="[% d.borrower_debarment_id %]" /> >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 19471
:
68174
|
68180
|
68940