#23 fixed css include file
This commit is contained in:
parent
208725e71e
commit
0c069b8db0
@ -1,10 +1,10 @@
|
||||
<% if Setting.plugin_redmine_tweaks['external_urls'].to_i > 0 %>
|
||||
<%= javascript_include_tag('redirect.js', :plugin => :redmine_tweaks) %>
|
||||
<%= javascript_include_tag('redirect.js', plugin: 'redmine_tweaks') %>
|
||||
<% end %>
|
||||
<% if Setting.plugin_redmine_tweaks['external_urls'].to_i == 2 %>
|
||||
<%= javascript_include_tag('noreferrer.js', :plugin => :redmine_tweaks) %>
|
||||
<%= javascript_include_tag('noreferrer.js', plugin: 'redmine_tweaks') %>
|
||||
<% end %>
|
||||
<%= stylesheet_link_tag 'tweaks', :plugin => 'redmine_tweaks' %>
|
||||
<%= stylesheet_link_tag 'tweaks', plugin: 'redmine_tweaks' %>
|
||||
|
||||
<%
|
||||
user_roles = User.current.memberships.collect {|m| m.roles}.flatten.uniq
|
||||
|
@ -1,6 +1,6 @@
|
||||
<% content_for :header_tags do %>
|
||||
<%= stylesheet_link_tag 'bootstrap-datepicker3.css', :plugin => 'redmine_tweaks' %>
|
||||
<%= javascript_include_tag('bootstrap-datepicker.js', :plugin => :redmine_tweaks) %>
|
||||
<%= stylesheet_link_tag 'bootstrap-datepicker3.min.css', plugin: 'redmine_tweaks' %>
|
||||
<%= javascript_include_tag('bootstrap-datepicker.min.js', plugin: 'redmine_tweaks') %>
|
||||
<% locale = User.current.language.blank? ? ::I18n.locale : User.current.language %>
|
||||
<%= javascript_include_tag("locales/bootstrap-datepicker.#{locale}.min.js", :plugin => :redmine_tweaks) unless locale == 'en' %>
|
||||
<%= javascript_include_tag("locales/bootstrap-datepicker.#{locale}.min.js", plugin: 'redmine_tweaks') unless locale == 'en' %>
|
||||
<% end %>
|
||||
|
Loading…
x
Reference in New Issue
Block a user