Bugzilla – Attachment 171132 Details for
Bug 37848
"Run with template" options need formatting
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37848: Fix "Run with template" dropdown menu style
Bug-37848-Fix-Run-with-template-dropdown-menu-styl.patch (text/plain), 2.35 KB, created by
Owen Leonard
on 2024-09-06 11:49:53 UTC
(
hide
)
Description:
Bug 37848: Fix "Run with template" dropdown menu style
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2024-09-06 11:49:53 UTC
Size:
2.35 KB
patch
obsolete
>From 86c5bd07de8e847c75fe5e89f03881a1c5928d06 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 6 Sep 2024 11:42:09 +0000 >Subject: [PATCH] Bug 37848: Fix "Run with template" dropdown menu style > >This patch adds the missing "dropdown-item" class to the "Run with >template" dropdown menu markup in order to correct the menu's style. > >The patch also adds a template ID to the menu items' id attributes so >that we don't have duplicate IDs. > >To test, apply the patch and go to Tools -> Notices. > >(testing steps copied from Bug 36157) > >1. Create a notice with the module of "Reports" -- add something to the > "Print" section. Example from the other bug: > > [% FOREACH b IN data %] > <div class="panel panel-default"> > <div class="panel-heading">[% b.surname %], [% b.firstname %]</div> > <div class="panel-body">Expiration: [% b.dateexpiry %]</div> > <div class="panel-footer">ID: [% b.borrowernumber %]</div> > </div> > [% END %] > >2. Create and run a saved report. Example from bug 36157: > > SELECT * FROM borrowers > >3. Click on the "Run with template" dropdown and confirm that it is > styled correctly. >4. Click to run the report with the template and confirm that it works > correctly. > >Sponsored-by: Athens County Public Libraries >--- > koha-tmpl/intranet-tmpl/prog/en/includes/reports-toolbar.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/reports-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/reports-toolbar.inc >index bdaafec285..24a564901c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/reports-toolbar.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/reports-toolbar.inc >@@ -78,7 +78,7 @@ > <ul class="dropdown-menu"> > [% FOREACH tmpl IN templates %] > <li> >- <a id="runreport" href="/cgi-bin/koha/reports/guided_reports.pl?id=[% id | html %]&op=run&template=[% tmpl.id | html %][% PROCESS params %]"> >+ <a class="dropdown-item" id="runreport_[% tmpl.id | html %]" href="/cgi-bin/koha/reports/guided_reports.pl?id=[% id | html %]&op=run&template=[% tmpl.id | html %][% PROCESS params %]"> > [% tmpl.name | html %] > </a> > </li> >-- >2.39.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 37848
:
171097
|
171132
|
171135
|
172268