Merge pull request #4767 from consul/poster_asset_path

Fix generating dashboard poster on production
This commit is contained in:
Javi Martín
2022-01-18 13:52:20 +01:00
committed by GitHub
3 changed files with 8 additions and 1 deletions

View File

@@ -9,6 +9,7 @@
//= link ckeditor/config.js
//= link stat_graphs.js
//= link dashboard_graphs.js
//= link dashboard_poster.css
//= link print.css
//= link pdf_fonts.css
//= link_tree ../../../vendor/assets/images

View File

@@ -0,0 +1,6 @@
@import "font-awesome/variables";
@import "font-awesome/mixins";
@import "font-awesome/core";
@import "foundation_and_overrides";
@import "mixins/*";
@import "dashboard";

View File

@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<%= wicked_pdf_stylesheet_link_tag "application" -%>
<%= wicked_pdf_stylesheet_link_tag "dashboard_poster" -%>
<%= wicked_pdf_stylesheet_link_tag "pdf_fonts" -%>
</head>
<body class="dashboard-poster-pdf">