Bug 7760: Add ids and classes to every staff page to help with customizaton (cart)
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Wed, 21 Mar 2012 15:19:00 +0000 (16:19 +0100)
committerPaul Poulain <paul.poulain@biblibre.com>
Thu, 22 Mar 2012 17:12:22 +0000 (18:12 +0100)
id = cart_<filename>
class = cart

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt
koha-tmpl/intranet-tmpl/prog/en/modules/basket/downloadcart.tt
koha-tmpl/intranet-tmpl/prog/en/modules/basket/sendbasketform.tt

index 4239b4f..6041e25 100644 (file)
@@ -72,7 +72,7 @@ function placeHold () {
        </script>
        [% END %]
 </head>
-[% IF ( print_basket ) %]<body id="basket" onload="print();history.back();">[% ELSE %]<body id="basket">[% END %]
+[% IF ( print_basket ) %]<body id="cart_basket" class="cart" onload="print();history.back();">[% ELSE %]<body id="cart_basket" class="cart">[% END %]
 
 <div id="doc" class="yui-t7">
 <div class="container">
index f52dd5a..a58699c 100644 (file)
@@ -2,7 +2,7 @@
 <title>Koha &rsaquo; Download cart</title>
 [% INCLUDE 'doc-head-close.inc' %]
 </head>
-<body style="padding:1em;">
+<body style="padding:1em;" id="cart_downloadcart" class="cart">
 [% IF ( format ) %]
     <p>Your download should begin automatically.</p>
 [% ELSE %]
index 9c9c565..69f01d6 100644 (file)
@@ -2,7 +2,7 @@
 <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha Online[% END %] Catalog &rsaquo;  Sending Your Cart</title>
 [% INCLUDE 'doc-head-close.inc' %]
 </head>
-<body style="padding: 1em;" id="sendbasket">
+<body style="padding: 1em;" id="cart_sendbasketform" class="cart">
 <div class="container">[% IF ( email_add ) %]
 
        [% IF ( SENT ) %]