Merge pull request #4767 from consul/poster_asset_path
Fix generating dashboard poster on production
This commit is contained in:
@@ -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
|
||||
|
||||
6
app/assets/stylesheets/dashboard_poster.scss
Normal file
6
app/assets/stylesheets/dashboard_poster.scss
Normal 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";
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user