1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-05 23:21:31 +00:00
redmine/app/views/groups/show.html.erb
Go MAEDA 482656fb2c Allow non-admin users to see group members (#12795).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21072 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-07-19 14:42:26 +00:00

22 lines
559 B
Plaintext

<div class="contextual">
<%= link_to(l(:button_edit), edit_group_path(@group), :class => 'icon icon-edit') if User.current.admin? %>
</div>
<h2><%= @group.name %></h2>
<% if @group.custom_field_values.any? %>
<ul>
<% render_custom_field_values(@group) do |custom_field, formatted| %>
<li><span class="label"><%= custom_field.name %>:</span> <%= formatted %></li>
<% end %>
</ul>
<% end %>
<h3><%= l(:label_member_plural) %></h3>
<ul>
<% @group.users.each do |user| %>
<li><%= user %></li>
<% end %>
</ul>
<% html_title @group.name %>