LP#1661661: Fixing syntax in base.tt2
authorBen Shum <ben@evergreener.net>
Sat, 11 Feb 2017 22:59:04 +0000 (17:59 -0500)
committerKathy Lussier <klussier@masslnc.org>
Fri, 17 Feb 2017 18:21:44 +0000 (13:21 -0500)
There was a missing closing tag for the second stylesheet that caused an error
with the heading. Fixed that, and then made some whitespace adjustments.

Signed-off-by: Ben Shum <ben@evergreener.net>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>

Open-ILS/src/templates/opac/parts/base.tt2

index 2f25e51..fa44aba 100644 (file)
         <meta name = "viewport" content = "initial-scale = 1.0">
         <link rel="stylesheet" type="text/css" href="[% ctx.media_prefix %]/css/skin/default/opac/semiauto.css" />
         <link rel="stylesheet" type="text/css" href="[% ctx.opac_root %]/css/style.css" />
-        [%- IF  ctx.locale  == "ar_ar" %]
+        [% IF ctx.locale == "ar_ar" %]
         <link rel="stylesheet" type="text/css" href="[% ctx.opac_root %]/css/style-rtl.css" />
-        <link rel="stylesheet" type="text/css" href="[% ctx.media_prefix %]/css/skin/default/opac/semiauto-rtl.css"$
-       [% END %]        
+        <link rel="stylesheet" type="text/css" href="[% ctx.media_prefix %]/css/skin/default/opac/semiauto-rtl.css" />
+        [% END %]
         
         [%- libname = ctx.get_aou(ctx.search_ou).name;
             libname = libname | html;