summaryrefslogtreecommitdiffstats
path: root/app/views/users
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-01-06 09:08:17 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-01-06 09:08:17 +0000
commit979892a109bd298cec45258bc4b2b91c8fe676cb (patch)
tree8cd489cc3129cd636b0361796747a80889a22b0b /app/views/users
parent776d5ce554cdf0229c0a90fae0321e3506a5d849 (diff)
downloadredmine-979892a109bd298cec45258bc4b2b91c8fe676cb.tar.gz
redmine-979892a109bd298cec45258bc4b2b91c8fe676cb.zip
calendar javascripts and stylesheets removed from base layout. they're now only added to html header when needed.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@151 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/users')
-rw-r--r--app/views/users/_form.rhtml7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/users/_form.rhtml b/app/views/users/_form.rhtml
index 989cb7559..e486c1042 100644
--- a/app/views/users/_form.rhtml
+++ b/app/views/users/_form.rhtml
@@ -28,3 +28,10 @@
<%= password_field_tag 'password_confirmation', nil, :size => 25 %></p>
</div>
<!--[eoform:user]-->
+
+<% content_for :header_tags do %>
+<%= javascript_include_tag 'calendar/calendar' %>
+<%= javascript_include_tag "calendar/lang/calendar-#{current_language}.js" %>
+<%= javascript_include_tag 'calendar/calendar-setup' %>
+<%= stylesheet_link_tag 'calendar' %>
+<% end %> \ No newline at end of file