1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-25 18:01:14 +00:00
redmine/app/views/groups/show.html.erb
2021-07-31 05:33:33 +00:00

22 lines
581 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.visible.each do |user| %>
<li><%= link_to_user(user) %></li>
<% end %>
</ul>
<% html_title @group.name %>