Merge pull request #1696 from okriuchykhin/ok_SCI_3377

Fix paths for highlightjs-github-theme [SCI-3377]
This commit is contained in:
Alex Kriuchykhin 2019-04-24 12:51:52 +02:00 committed by GitHub
commit 43d8413496
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
$fa-font-path: "~@fortawesome/fontawesome-free/webfonts/";
$fa-font-path: "~@fortawesome/fontawesome-free/webfonts/";
@import "~@fortawesome/fontawesome-free/scss/fontawesome";
@import "~@fortawesome/fontawesome-free/scss/solid";

View file

@ -22,5 +22,5 @@
data: {
object_type: 'my_module',
object_id: @my_module.id,
highlightjs_path: asset_path('highlightjs-github-theme') } ) %>
highlightjs_path: asset_path('highlightjs-github-theme.css') } ) %>
<% end %>

View file

@ -22,5 +22,5 @@
data: {
object_type: 'protocol',
object_id: @my_module.protocol.id,
highlightjs_path: asset_path('highlightjs-github-theme') } ) %>
highlightjs_path: asset_path('highlightjs-github-theme.css') } ) %>
<% end %>

View file

@ -36,7 +36,7 @@
data: {
object_type: 'step',
object_id: @step.id,
highlightjs_path: asset_path('highlightjs-github-theme') } ) %>
highlightjs_path: asset_path('highlightjs-github-theme.css') } ) %>
</div>
</div>
<div class="tab-pane" role="tabpanel" id="new-step-checklists">