Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere
[koha_ffzg] / koha-tmpl / intranet-tmpl / prog / en / modules / catalogue / ISBDdetail.tt
index 3a42fd1..e292c14 100644 (file)
@@ -1,3 +1,4 @@
+[% USE Asset %]
 [% SET footerjs = 1 %]
 [% INCLUDE 'doc-head-open.inc' %]
 <title>Koha &rsaquo; Catalog &rsaquo;
@@ -48,9 +49,9 @@
 
 [% MACRO jsinclude BLOCK %]
     [% INCLUDE 'catalog-strings.inc' %]
-    <script type="text/javascript" src="[% interface %]/[% theme %]/js/catalog_[% KOHA_VERSION %].js"></script>
+    [% Asset.js("js/catalog.js") %]
     [% INCLUDE 'browser-strings.inc' %]
-    <script type="text/javascript" src="[% interface %]/js/browser_[% KOHA_VERSION %].js"></script>
+    [% Asset.js("js/browser.js") %]
     <script type="text/javascript">
         var browser = KOHA.browser('[% searchid %]', parseInt('[% biblionumber %]', 10));
         browser.show();