mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-28 19:24:10 +08:00
Fix wicked_pdf asset pipeline [SCI-8684] (#5629)
Co-authored-by: Sboursen <dev.sboursen@gmail.com>
This commit is contained in:
parent
d686d746cb
commit
8b8fd1db42
2 changed files with 3 additions and 4 deletions
|
@ -23,4 +23,4 @@ function pageNumbers() {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
$('#reports-footer-header-template').on('load', pageNumbers);
|
pageNumbers();
|
||||||
|
|
|
@ -2,10 +2,9 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset='utf-8' />
|
<meta charset='utf-8' />
|
||||||
<%= javascript_include_tag wicked_pdf_asset_base64("reports/template_helpers") %>
|
|
||||||
</head>
|
</head>
|
||||||
<body id="reports-footer-header-template">
|
<body>
|
||||||
<%= javascript_include_tag 'reports/template_helpers' %>
|
|
||||||
<%= yield %>
|
<%= yield %>
|
||||||
|
<%= javascript_include_tag wicked_pdf_asset_base64("reports/template_helpers") %>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue