プロジェクト

全般

プロフィール

Vote #79411

完了

Display custom fields on group pages

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Custom fields_14
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
14
version_id:
99
issue_org_id:
29189
author_id:
14446
assigned_to_id:
332
comments:
8
status_id:
5
tracker_id:
3
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

It's possible to add custom fields to groups, but they are no where displayed but in the edit view within the admin area.

The attached patch extends @groups#show@ to also list custom fields defined for the group. It's targeted at r17428.


journals

This is a screenshot of @/groups/:id@ page after applying the patch.

!{width: 355px; border: 1px #ccc solid}.screenshot-29189@2x.png!
--------------------------------------------------------------------------------
Thank you for posting the patch. I think this patch improves the consistency of UI.

But I wonder whether the heading "Attributes" is necessary. @/users/:id@ page does not add such a heading when showing custom fields (see http://www.redmine.org/users/347 for example). In addition, @:label_attribute_plural@ is only used in @app/views/auth_sources/_form_auth_source_ldap.html.erb@.

Do you think we can remove "@<h3><%= l(:label_attribute_plural) %></h3>@" from the patch?
--------------------------------------------------------------------------------
Thank you for reviewing this patch.

I don't have a strong opinion on this one. I've added the sub heading for cosmetic reasons. If you think it's not necessary, this is OK for me.
--------------------------------------------------------------------------------
I have slightly changed Gregor Schmidt's patch. Setting target version to 4.1.0.
--------------------------------------------------------------------------------
Go Maeda, lets have a basic test for this feature.
--------------------------------------------------------------------------------
I wrote a test for 20189.patch.
--------------------------------------------------------------------------------
Thank you very much for providing a test case.
--------------------------------------------------------------------------------
Committed the patch and test with a slight change. Thank you all for the contribution.

--------------------------------------------------------------------------------

Admin Redmine さんが3年以上前に更新

  • カテゴリCustom fields_14 にセット
  • 対象バージョン4.0.0_99 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0