From: Toshi MARUYAMA Date: Thu, 1 Sep 2011 13:56:05 +0000 (+0000) Subject: rename .rhtml to .html.erb of app/views/issues/_sidebar.rhtml. X-Git-Tag: 1.3.0~948 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b7370e90ce5217cc7a128c4906e504408f879f3d;p=redmine.git rename .rhtml to .html.erb of app/views/issues/_sidebar.rhtml. :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 --- diff --git a/app/views/issues/_sidebar.html.erb b/app/views/issues/_sidebar.html.erb new file mode 100644 index 000000000..6de1c2d67 --- /dev/null +++ b/app/views/issues/_sidebar.html.erb @@ -0,0 +1,17 @@ +

<%= l(:label_issue_plural) %>

+<%= link_to l(:label_issue_view_all), { :controller => 'issues', :action => 'index', :project_id => @project, :set_filter => 1 } %>
+<% if @project %> +<%= link_to l(:field_summary), :controller => 'reports', :action => 'issue_report', :id => @project %>
+<% 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) %>
+<% end %> +<% if User.current.allowed_to?(:view_gantt, @project, :global => true) %> + <%= link_to(l(:label_gantt), :controller => 'gantts', :action => 'show', :project_id => @project) %>
+<% 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 index 6de1c2d67..000000000 --- a/app/views/issues/_sidebar.rhtml +++ /dev/null @@ -1,17 +0,0 @@ -

<%= l(:label_issue_plural) %>

-<%= link_to l(:label_issue_view_all), { :controller => 'issues', :action => 'index', :project_id => @project, :set_filter => 1 } %>
-<% if @project %> -<%= link_to l(:field_summary), :controller => 'reports', :action => 'issue_report', :id => @project %>
-<% 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) %>
-<% end %> -<% if User.current.allowed_to?(:view_gantt, @project, :global => true) %> - <%= link_to(l(:label_gantt), :controller => 'gantts', :action => 'show', :project_id => @project) %>
-<% end %> -<%= call_hook(:view_issues_sidebar_planning_bottom) %> - -<%= render_sidebar_queries %> -<%= call_hook(:view_issues_sidebar_queries_bottom) %>