Skip to content

Commit

Permalink
Easy styles moved elsewhere
Browse files Browse the repository at this point in the history
  • Loading branch information
picman committed Aug 7, 2024
1 parent ed71944 commit 26d2b2a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 253 deletions.
244 changes: 0 additions & 244 deletions assets/stylesheets/easy_dmsf.css

This file was deleted.

14 changes: 5 additions & 9 deletions lib/redmine_dmsf/hooks/views/base_view_hooks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,11 @@ def view_layouts_base_html_head(context = {})
return
end

meta = "\n".html_safe + stylesheet_link_tag('redmine_dmsf.css', plugin: :redmine_dmsf) +
"\n".html_safe + stylesheet_link_tag('select2.min.css', plugin: :redmine_dmsf) +
"\n".html_safe + javascript_include_tag('select2.min.js', plugin: :redmine_dmsf, defer: true) +
"\n".html_safe + javascript_include_tag('redmine_dmsf.js', plugin: :redmine_dmsf, defer: true) +
"\n".html_safe + javascript_include_tag('attachments_dmsf.js', plugin: :redmine_dmsf, defer: true)
if defined?(EasyExtensions)
meta << ("\n".html_safe + stylesheet_link_tag('easy_dmsf.css', plugin: :redmine_dmsf))
end
meta
"\n".html_safe + stylesheet_link_tag('redmine_dmsf.css', plugin: :redmine_dmsf) +
"\n".html_safe + stylesheet_link_tag('select2.min.css', plugin: :redmine_dmsf) +
"\n".html_safe + javascript_include_tag('select2.min.js', plugin: :redmine_dmsf, defer: true) +
"\n".html_safe + javascript_include_tag('redmine_dmsf.js', plugin: :redmine_dmsf, defer: true) +
"\n".html_safe + javascript_include_tag('attachments_dmsf.js', plugin: :redmine_dmsf, defer: true)
end
end
end
Expand Down

0 comments on commit 26d2b2a

Please sign in to comment.