From 6cf02bb83401bfd1ee3d91f72b3ad37fb2a4a2af Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Thu, 1 Sep 2011 13:27:38 +0000 Subject: rename .rhtml to .html.erb of app/views/projects/list_members.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@7004 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/projects/list_members.html.erb | 13 +++++++++++++ app/views/projects/list_members.rhtml | 13 ------------- 2 files changed, 13 insertions(+), 13 deletions(-) create mode 100644 app/views/projects/list_members.html.erb delete mode 100644 app/views/projects/list_members.rhtml (limited to 'app/views') diff --git a/app/views/projects/list_members.html.erb b/app/views/projects/list_members.html.erb new file mode 100644 index 000000000..04de16044 --- /dev/null +++ b/app/views/projects/list_members.html.erb @@ -0,0 +1,13 @@ +

<%=l(:label_member_plural)%>

+ +<% if @members.empty? %>

<%= l(:label_no_data) %>

<% end %> + +<% members = @members.group_by {|m| m.role } %> +<% members.keys.sort{|x,y| x.position <=> y.position}.each do |role| %> +

<%= h(role.name) %>

+ +<% end %> diff --git a/app/views/projects/list_members.rhtml b/app/views/projects/list_members.rhtml deleted file mode 100644 index 04de16044..000000000 --- a/app/views/projects/list_members.rhtml +++ /dev/null @@ -1,13 +0,0 @@ -

<%=l(:label_member_plural)%>

- -<% if @members.empty? %>

<%= l(:label_no_data) %>

<% end %> - -<% members = @members.group_by {|m| m.role } %> -<% members.keys.sort{|x,y| x.position <=> y.position}.each do |role| %> -

<%= h(role.name) %>

- -<% end %> -- cgit v1.2.3