Bugzilla – Attachment 149353 Details for
Bug 32634
Add 'page-section' to various pages
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32634: (follow-up) Restructure page headings
Bug-32634-follow-up-Restructure-page-headings.patch (text/plain), 2.38 KB, created by
Katrin Fischer
on 2023-04-09 11:28:07 UTC
(
hide
)
Description:
Bug 32634: (follow-up) Restructure page headings
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2023-04-09 11:28:07 UTC
Size:
2.38 KB
patch
obsolete
>From 423d0c90fd40bff0d28b9bafdc5e1b6e5495c76a Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 18 Jan 2023 13:12:08 +0000 >Subject: [PATCH] Bug 32634: (follow-up) Restructure page headings > >An error in template logic is preventing the page's h1 from displaying. >Rather than fixing this I have changed the h1 to display a generic >"Transaction details" h1. The h2 shows the transaction type (credit or >debit). > >The h2 is now inside the .page-section. > >Signed-off-by: Magnus Enger <magnus@libriotech.no> >Checked all the places mentioned in the commit message, and they >all have .page-section now. >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > .../en/modules/members/accountline-details.tt | 22 +++++++------------ > 1 file changed, 8 insertions(+), 14 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/accountline-details.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/accountline-details.tt >index 3e4aea526f..067b868dbe 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/accountline-details.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/accountline-details.tt >@@ -63,25 +63,19 @@ > <div class="col-sm-10 col-sm-push-2"> > <main> > >- <h1> >- [% IF type == 'credit' %] >- <span>Details of payment</span> >- [% ELSIF type == 'debit' %] >- <span>Details of fee</span> >- [% END %] >- </h1> >- > [% INCLUDE 'members-toolbar.inc' borrowernumber=patron.borrowernumber %] > >+ <h1>Transaction details</h1> >+ > [% IF accountline %] >- [% af_values = accountline.additional_field_values %] >- [% IF accountline.credit_type_code %] >- <h2>Details of credit</h2> >- [% ELSIF accountline.debit_type_code %] >- <h2>Details of debit</h2> >- [% END %] > > <div class="page-section"> >+ [% af_values = accountline.additional_field_values %] >+ [% IF accountline.credit_type_code %] >+ <h2>Details of credit</h2> >+ [% ELSIF accountline.debit_type_code %] >+ <h2>Details of debit</h2> >+ [% END %] > > <table id="table_account_fines"> > <thead> >-- >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 32634
:
145322
|
145357
|
145392
|
148904
|
148905
|
149352
| 149353