Bugzilla – Attachment 143863 Details for
Bug 32199
Add page-section to various patron pages
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32199: (follow-up) Add page-section to list of validated discharges
Bug-32199-follow-up-Add-page-section-to-list-of-va.patch (text/plain), 2.66 KB, created by
Katrin Fischer
on 2022-11-14 19:21:25 UTC
(
hide
)
Description:
Bug 32199: (follow-up) Add page-section to list of validated discharges
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2022-11-14 19:21:25 UTC
Size:
2.66 KB
patch
obsolete
>From fdd61c9d924b83d0b9dcacd3c6bf42494b986418 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Mon, 14 Nov 2022 19:19:21 +0000 >Subject: [PATCH] Bug 32199: (follow-up) Add page-section to list of validated > discharges > >This requires that a discharge is added to the patron account first. >Then you'll see that the 'Aready validated discharges' appear within >the white page section. >--- > .../prog/en/modules/members/discharge.tt | 42 ++++++++++--------- > 1 file changed, 23 insertions(+), 19 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/discharge.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/discharge.tt >index 283c4590d4..f3668a7d49 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/discharge.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/discharge.tt >@@ -62,30 +62,34 @@ > [% IF patron.holds.count %] > <p>Patron has holds. They will be cancelled if the discharge is generated.</p> > [% END %] >- <form method="post"> >- <input type="submit" name="discharge" class="btn btn-primary" value="Generate discharge" /> >- <input type="hidden" value="[% patron.borrowernumber | html %]" name="borrowernumber" /> >- </form> >+ <div class="btn-toolbar"> >+ <form method="post"> >+ <input type="submit" name="discharge" class="btn btn-primary" value="Generate discharge" /> >+ <input type="hidden" value="[% patron.borrowernumber | html %]" name="borrowernumber" /> >+ </form> >+ </div> > [% END %] > > [% IF validated_discharges %] >- <h2>Already validated discharges</h2> >- <table> >- <thead> >- <tr> >- <th>Requested</th> >- <th>Validated</th> >- </tr> >- </thead> >- <tbody> >- [% FOR d IN validated_discharges %] >+ <div class="page-section"> >+ <h2>Already validated discharges</h2> >+ <table> >+ <thead> > <tr> >- <td>[% d.needed | $KohaDates with_hours = 1 %]</td> >- <td>[% d.validated | $KohaDates with_hours = 1 %]</td> >+ <th>Requested</th> >+ <th>Validated</th> > </tr> >- [% END %] >- </tbody> >- </table> >+ </thead> >+ <tbody> >+ [% FOR d IN validated_discharges %] >+ <tr> >+ <td>[% d.needed | $KohaDates with_hours = 1 %]</td> >+ <td>[% d.validated | $KohaDates with_hours = 1 %]</td> >+ </tr> >+ [% END %] >+ </tbody> >+ </table> >+ </div> > [% END %] > > </main> >-- >2.30.2
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 32199
:
143856
|
143861
|
143862
|
143863
|
143866
|
143867
|
143868
|
143869
|
143870
|
143871
|
143872