Bug 17635: Fix templates with missing body id
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 15 Nov 2016 18:07:14 +0000 (15:07 -0300)
committerKyle M Hall <kyle@bywatersolutions.com>
Tue, 15 Nov 2016 18:16:30 +0000 (18:16 +0000)
The following template files are missing body id and class and should be fixed:

- members/housebound.tt
- reports/cash_register_stats.tt

To test:
- Run:
  $ sudo koha-shell kohadev ; cd kohaclone
 k$ prove xt/tt_valid.t
=> FAIL: Tests fail due to the mentioned templates
- Apply this patch
- Run:
  $ sudo koha-shell kohadev ; cd kohaclone
 k$ prove xt/tt_valid.t
=> SUCCESS: Tests pass!
- Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/housebound.tt
koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt

index 7c2bfec..74c90f4 100644 (file)
@@ -15,7 +15,7 @@
 //]]>
 </script>
 </head>
-<body>
+<body id="housebound-home" class="housebound">
 [% INCLUDE 'header.inc' %]
 [% INCLUDE 'patron-search.inc' %]
 
index bd69db7..2a4a6d4 100644 (file)
@@ -58,7 +58,7 @@ $(document).ready(function() {
 </script>
 
 </head>
-<body>
+<body id="cash_register_stats" class="rep">
 [% INCLUDE 'header.inc' %]
 [% INCLUDE 'cat-search.inc' %]