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
This commit is contained in:
Jean-Philippe Lang
2007-01-06 09:08:17 +00:00
parent 776d5ce554
commit 979892a109
8 changed files with 45 additions and 8 deletions
+7
View File
@@ -35,3 +35,10 @@
</div>
<%= javascript_tag "Element.hide('repository');" if @project.repository.nil? %>
</div>
<% 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 %>