]> source.dussan.org Git - redmine.git/commitdiff
rename .rhtml to .html.erb of app/views/issues/_sidebar.rhtml.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 1 Sep 2011 13:56:05 +0000 (13:56 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 1 Sep 2011 13:56:05 +0000 (13:56 +0000)
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7015 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/issues/_sidebar.html.erb [new file with mode: 0644]
app/views/issues/_sidebar.rhtml [deleted file]

diff --git a/app/views/issues/_sidebar.html.erb b/app/views/issues/_sidebar.html.erb
new file mode 100644 (file)
index 0000000..6de1c2d
--- /dev/null
@@ -0,0 +1,17 @@
+<h3><%= l(:label_issue_plural) %></h3>
+<%= link_to l(:label_issue_view_all), { :controller => 'issues', :action => 'index', :project_id => @project, :set_filter => 1 } %><br />
+<% if @project %>
+<%= link_to l(:field_summary), :controller => 'reports', :action => 'issue_report', :id => @project %><br />
+<% end %>
+<%= call_hook(:view_issues_sidebar_issues_bottom) %>
+
+<% if User.current.allowed_to?(:view_calendar, @project, :global => true) %>
+       <%= link_to(l(:label_calendar), :controller => 'calendars', :action => 'show', :project_id => @project) %><br />
+<% end %>
+<% if User.current.allowed_to?(:view_gantt, @project, :global => true) %>
+       <%= link_to(l(:label_gantt), :controller => 'gantts', :action => 'show', :project_id => @project) %><br />
+<% end %>
+<%= call_hook(:view_issues_sidebar_planning_bottom) %>
+
+<%= render_sidebar_queries %>
+<%= call_hook(:view_issues_sidebar_queries_bottom) %>
diff --git a/app/views/issues/_sidebar.rhtml b/app/views/issues/_sidebar.rhtml
deleted file mode 100644 (file)
index 6de1c2d..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-<h3><%= l(:label_issue_plural) %></h3>
-<%= link_to l(:label_issue_view_all), { :controller => 'issues', :action => 'index', :project_id => @project, :set_filter => 1 } %><br />
-<% if @project %>
-<%= link_to l(:field_summary), :controller => 'reports', :action => 'issue_report', :id => @project %><br />
-<% end %>
-<%= call_hook(:view_issues_sidebar_issues_bottom) %>
-
-<% if User.current.allowed_to?(:view_calendar, @project, :global => true) %>
-       <%= link_to(l(:label_calendar), :controller => 'calendars', :action => 'show', :project_id => @project) %><br />
-<% end %>
-<% if User.current.allowed_to?(:view_gantt, @project, :global => true) %>
-       <%= link_to(l(:label_gantt), :controller => 'gantts', :action => 'show', :project_id => @project) %><br />
-<% end %>
-<%= call_hook(:view_issues_sidebar_planning_bottom) %>
-
-<%= render_sidebar_queries %>
-<%= call_hook(:view_issues_sidebar_queries_bottom) %>