Bug 40794: Add id='account-tabs' wrapper to payment and account tab templates
This patch adds a new id="account-tabs" to that div.
To test:
Apply the patch and restart_all. Clear browser cache if necessary.
1. Go to a patron’s accounting tab → Transactions / Make payment / Manual invoice / Manual credit.
2. Inspect the HTML for the tabs menu. The surrounding div should have both class="toptabs" and id="account-tabs".
3. Verify styling and tab functionality remain unchanged.
4. Sign off and have a great day! :D
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit b28daeb973)
Signed-off-by: Jacob O'Mara <jacob.omara@openfifth.co.uk>
This commit is contained in:
parent
1a9d73b75b
commit
dcf2e8803d
|
|
@ -56,7 +56,7 @@
|
|||
<form action="/cgi-bin/koha/members/boraccount.pl" method="get">[% INCLUDE 'csrf-token.inc' %]<input type="hidden" name="borrowernumber" id="borrowernumber" value="[% patron.borrowernumber | html %]" /></form>
|
||||
|
||||
<!-- The manual invoice and credit buttons -->
|
||||
<div class="toptabs">
|
||||
<div id="account-tabs" class="toptabs">
|
||||
<ul class="nav nav-tabs" role="tablist">
|
||||
<li role="presentation" class="nav-item transactions">
|
||||
<a class="nav-link active" href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% patron.borrowernumber | uri %]" role="tab">Transactions</a>
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@
|
|||
<h1>Manual credit</h1>
|
||||
|
||||
<!-- The manual invoice and credit buttons -->
|
||||
<div class="toptabs">
|
||||
<div id="account-tabs" class="toptabs">
|
||||
<ul class="nav nav-tabs" role="tablist">
|
||||
<li role="presentation" class="nav-item transactions">
|
||||
<a class="nav-link" href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% patron.borrowernumber | uri %]" role="tab">Transactions</a>
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@
|
|||
<h1>Manual invoice</h1>
|
||||
|
||||
<!-- The manual invoice and credit buttons -->
|
||||
<div class="toptabs">
|
||||
<div id="account-tabs" class="toptabs">
|
||||
<ul class="nav nav-tabs" role="tablist">
|
||||
<li role="presentation" class="nav-item transactions">
|
||||
<a class="nav-link" href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% patron.borrowernumber | uri %]" role="tab">Transactions</a>
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@
|
|||
<h1>Make a payment</h1>
|
||||
|
||||
<!-- The manual invoice and credit buttons -->
|
||||
<div>
|
||||
<div id="account-tabs" class="toptabs">
|
||||
<ul class="nav nav-tabs" role="tablist">
|
||||
<li role="presentation" class="nav-item transactions">
|
||||
<a class="nav-link" href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% patron.borrowernumber | uri %]" role="tab">Transactions</a>
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@
|
|||
[% INCLUDE 'members-toolbar.inc' borrowernumber=patron.borrowernumber %]
|
||||
|
||||
<!-- The manual invoice and credit buttons -->
|
||||
<div class="toptabs">
|
||||
<div id="account-tabs" class="toptabs">
|
||||
<ul class="nav nav-tabs">
|
||||
<li class="nav-item transactions">
|
||||
<a href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% patron.borrowernumber | uri %]" class="nav-link">Transactions</a>
|
||||
|
|
|
|||
Loading…
Reference in New Issue