Bugzilla – Attachment 115285 Details for
Bug 12260
Printing a page from bootstrap shows unnecessary links
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12260: Hide unnecessary links when printing
Bug-12260-Hide-unnecessary-links-when-printing.patch (text/plain), 2.29 KB, created by
Ava
on 2021-01-19 02:26:21 UTC
(
hide
)
Description:
Bug 12260: Hide unnecessary links when printing
Filename:
MIME Type:
Creator:
Ava
Created:
2021-01-19 02:26:21 UTC
Size:
2.29 KB
patch
obsolete
>From de307f83ec9bb3cf6eb43c96b08852a0a6b9d1ed Mon Sep 17 00:00:00 2001 >From: ava li <rubyli208@gmail.com> >Date: Tue, 19 Jan 2021 02:21:01 +0000 >Subject: [PATCH] Bug 12260: Hide unnecessary links when printing > >TEST PLAN: >try printing every page in the opac and confirm these sections don't >show > > #cartmenulink { display: none; } > #listsmenu { display: none; } > #koha_url { display:none; } > .breadcrumb { display:none; } > a[href]:after { display:none; } > #social_networks { display:none; } > a.tag_add { display:none; } > .results_summary.online_resources { display:none; } > a#Normalview, > a#MARCview, > a#ISBDview { display:none; } > .ui-tabs-panel { border:none !important; } > #addcomment { display:none; } > #ulactioncontainer { display:none; } > #usermenu { display:none; } > #didyoumean { display:none; } > #top-pages, #bottom-pages { display:none; } > #selections-toolbar { display: none; } > .actions-menu { display: none; } > #numresults a { display:none; } > #numresults { float:left; } >--- > koha-tmpl/opac-tmpl/bootstrap/css/src/print.scss | 83 ++++++++++++++++++++++++ > 1 file changed, 83 insertions(+) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/css/src/print.scss b/koha-tmpl/opac-tmpl/bootstrap/css/src/print.scss >index e6f21ece42..08fb78e782 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/css/src/print.scss >+++ b/koha-tmpl/opac-tmpl/bootstrap/css/src/print.scss >@@ -269,3 +269,86 @@ td.resultscontrol, > @page { > margin: 1cm; > } >+ >+#changelanguage { >+ display: none; >+} >+ >+#cartmenulink { >+ display: none; >+} >+ >+#listsmenu { >+ display: none; >+} >+ >+#koha_url { >+ display: none; >+} >+ >+.breadcrumb { >+ display: none; >+} >+ >+a[href]:after { >+ display:none; >+} >+ >+#social_networks { >+ display:none; >+} >+ >+a.tag_add { >+ display:none; >+} >+ >+.results_summary.online_resources { >+ display:none; >+} >+ >+a#Normalview, >+a#MARCview, >+a#ISBDview { >+ display:none; >+} >+ >+.ui-tabs-panel { >+ border:none !important; >+} >+ >+#addcomment { >+ display:none; >+} >+ >+#ulactioncontainer { >+ display:none; >+} >+ >+#usermenu { >+ display:none; >+} >+ >+#didyoumean { >+ display:none; >+} >+ >+#top-pages, >+#bottom-pages { >+ display:none; >+} >+ >+#selections-toolbar { >+ display: none; >+} >+ >+.actions-menu { >+ display: none; >+} >+ >+#numresults a { >+ display:none; >+} >+ >+#numresults { >+ float:left; >+} >-- >2.11.0
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 12260
:
115285
|
115286
|
116028
|
116197
|
116198