diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-03-31 21:48:01 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-03-31 21:48:01 +0000 |
commit | 68fe7856c9218d0bfa5c4cf468e7120cf2c964d4 (patch) | |
tree | e0ff2e92047667b8161b89bb5c39a49cb90bdf52 /app/views/timelog | |
parent | 0d9e4196463b5cacc103186f888097b6189f58d5 (diff) | |
download | redmine-68fe7856c9218d0bfa5c4cf468e7120cf2c964d4.tar.gz redmine-68fe7856c9218d0bfa5c4cf468e7120cf2c964d4.zip |
Move repetitive calendar include code from views into helper (patch #966 by Peter Suschlik).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1315 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/timelog')
-rw-r--r-- | app/views/timelog/details.rhtml | 7 | ||||
-rw-r--r-- | app/views/timelog/edit.rhtml | 7 | ||||
-rw-r--r-- | app/views/timelog/report.rhtml | 7 |
3 files changed, 0 insertions, 21 deletions
diff --git a/app/views/timelog/details.rhtml b/app/views/timelog/details.rhtml index cba1597d1..89793745e 100644 --- a/app/views/timelog/details.rhtml +++ b/app/views/timelog/details.rhtml @@ -44,10 +44,3 @@ <span><%= link_to 'CSV', params.merge(:format => 'csv'), :class => 'csv' %></span>
</p>
<% end %>
-
-<% 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 %>
diff --git a/app/views/timelog/edit.rhtml b/app/views/timelog/edit.rhtml index 13d76f1ef..e221038a0 100644 --- a/app/views/timelog/edit.rhtml +++ b/app/views/timelog/edit.rhtml @@ -14,10 +14,3 @@ <%= submit_tag l(:button_save) %>
<% end %>
-
-<% 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 diff --git a/app/views/timelog/report.rhtml b/app/views/timelog/report.rhtml index 8fc15a3b4..2682a5cb0 100644 --- a/app/views/timelog/report.rhtml +++ b/app/views/timelog/report.rhtml @@ -63,10 +63,3 @@ <% end %> <% end %> <% end %> - -<% 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 %> |