diff options
author | Go MAEDA <maeda@farend.jp> | 2018-07-10 07:02:41 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2018-07-10 07:02:41 +0000 |
commit | 05bdaad3992134f7c0ce6913303bf181af84ea53 (patch) | |
tree | 9959acb5d3e9486ef9f7efb33bfae481414a928c /app | |
parent | 12b37ae754b76bdf88f9a3ac134f7072c6987bf9 (diff) | |
download | redmine-05bdaad3992134f7c0ce6913303bf181af84ea53.tar.gz redmine-05bdaad3992134f7c0ce6913303bf181af84ea53.zip |
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
Diffstat (limited to 'app')
-rw-r--r-- | app/views/groups/show.html.erb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/groups/show.html.erb b/app/views/groups/show.html.erb index b10427bf9..4f413afe8 100644 --- a/app/views/groups/show.html.erb +++ b/app/views/groups/show.html.erb @@ -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> |