Bug 20554: (follow-up) KOHA_VERSION is not needed in opaclayoutstylesheet
authorFridolin Somers <fridolin.somers@biblibre.com>
Wed, 24 Oct 2018 13:09:07 +0000 (15:09 +0200)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 24 Oct 2018 13:25:32 +0000 (13:25 +0000)
SET opaclayoutstylesheet does not need KOHA_VERSION, its defined by Asset.css()

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Fix a bad resolution conflict

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc

index 4dfd532..22160e9 100644 (file)
@@ -17,7 +17,7 @@
     [% Asset.css("lib/jquery/jquery-ui.css") | $raw %]
 [% END %]
 
-[% SET opaclayoutstylesheet='opac_' _ KOHA_VERSION _ '.css' UNLESS opaclayoutstylesheet %]
+[% SET opaclayoutstylesheet='opac.css' UNLESS opaclayoutstylesheet %]
 [% IF (opaclayoutstylesheet.match('^https?:|^\/')) %]
     <link rel="stylesheet" type="text/css" href="[% opaclayoutstylesheet | html %]" />
 [% ELSE %]