summaryrefslogtreecommitdiffstats
path: root/app/views/layouts
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2010-12-22 21:37:07 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2010-12-22 21:37:07 +0000
commit523febf9c1b31991fed52fe5878bec3153f8aafb (patch)
treec1f4a39e349e49f82f1d062c4f32a78e569a45e4 /app/views/layouts
parent72f58c4c407b35ce02d4ca16178698068ef8cfa5 (diff)
downloadredmine-523febf9c1b31991fed52fe5878bec3153f8aafb.tar.gz
redmine-523febf9c1b31991fed52fe5878bec3153f8aafb.zip
Support for Javascript in Themes (#2803).
If javascripts/theme.js is found in the theme directory, it will be automatically loaded on each page. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4558 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/layouts')
-rw-r--r--app/views/layouts/base.rhtml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/layouts/base.rhtml b/app/views/layouts/base.rhtml
index 0393815b0..8cd7a97eb 100644
--- a/app/views/layouts/base.rhtml
+++ b/app/views/layouts/base.rhtml
@@ -9,6 +9,7 @@
<%= stylesheet_link_tag 'application', :media => 'all' %>
<%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %>
<%= javascript_include_tag :defaults %>
+<%= heads_for_theme %>
<%= heads_for_wiki_formatter %>
<!--[if IE]>
<style type="text/css">