Browse Source

Display custom fields on group pages (#29189).

Contributed by Gregor Schmidt.


git-svn-id: http://svn.redmine.org/redmine/trunk@17441 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/4.0.0
Go MAEDA 6 years ago
parent
commit
05bdaad399
1 changed files with 9 additions and 0 deletions
  1. 9
    0
      app/views/groups/show.html.erb

+ 9
- 0
app/views/groups/show.html.erb View File

@@ -1,5 +1,14 @@
<%= title [l(:label_group_plural), groups_path], @group.name %>

<% 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>

Loading…
Cancel
Save