diff options
author | Eric Davis <edavis@littlestreamsoftware.com> | 2010-08-19 22:24:37 +0000 |
---|---|---|
committer | Eric Davis <edavis@littlestreamsoftware.com> | 2010-08-19 22:24:37 +0000 |
commit | e4c5a91d0e9214485a13dec0a68225eeee16ee99 (patch) | |
tree | 7ba87cf1f302a9e8626a6d539739ee614771cc8f /app/views/projects/show.rhtml | |
parent | 1c53668bc9300783cb36170f5e1cdb9bb723824d (diff) | |
download | redmine-e4c5a91d0e9214485a13dec0a68225eeee16ee99.tar.gz redmine-e4c5a91d0e9214485a13dec0a68225eeee16ee99.zip |
Refactor: extract Members Box to partial.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4009 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/projects/show.rhtml')
-rw-r--r-- | app/views/projects/show.rhtml | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/app/views/projects/show.rhtml b/app/views/projects/show.rhtml index fa9771521..62ea27848 100644 --- a/app/views/projects/show.rhtml +++ b/app/views/projects/show.rhtml @@ -51,14 +51,7 @@ </div> <div class="splitcontentright"> - <% if @users_by_role.any? %> - <div class="members box"> - <h3><%=l(:label_member_plural)%></h3> - <p><% @users_by_role.keys.sort.each do |role| %> - <%=h role %>: <%= @users_by_role[role].sort.collect{|u| link_to_user u}.join(", ") %><br /> - <% end %></p> - </div> - <% end %> + <%= render :partial => 'members_box' %> <% if @news.any? && authorize_for('news', 'index') %> <div class="news box"> |