Bug 12073: don't show link URLs when printing Bootstrap OPAC detail page
authorFrédéric Demians <f.demians@tamil.fr>
Fri, 11 Apr 2014 15:23:50 +0000 (17:23 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Sat, 12 Apr 2014 18:04:55 +0000 (18:04 +0000)
On OPAC Bootstrap detail page, by clicking Print link on the right the
page is printed. But the printed page contains HTML <a> anchors URL
attribute. It's useless, and unreadable. It isn't the case with prog
theme.

This patch hides all <a> href attributes when printing any OPAC page.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works as described and improves the printed detail page's readability.
Currently there is no less file for the print.css.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>

koha-tmpl/opac-tmpl/bootstrap/css/print.css

index db8b21b..a1034f1 100644 (file)
@@ -13,6 +13,8 @@ a:hover {
        text-decoration: none;
 }
 
+a[href]:after { display:none; }
+
 body {
        background-color : #FFF;
        color : #333333;