Bugzilla – Attachment 116197 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.35 KB, created by
Martin Renvoize (ashimema)
on 2021-02-02 10:51:37 UTC
(
hide
)
Description:
Bug 12260: Hide unnecessary links when printing
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2021-02-02 10:51:37 UTC
Size:
2.35 KB
patch
obsolete
>From c6edc184cdaab1e3b02d785e0a5cc4699e38ac7f 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; } > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > .../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.20.1
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