OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Allow members help-text to be added
Oliver Günther4576c67f09a6
diff --git a/app/models/attribute_help_text/project.rb b/app/models/attribute_help_text/project.rbindex 683e816a6b5..f24da3e96e3 100644--- a/app/models/attribute_help_text/project.rb+++ b/app/models/attribute_help_text/project.rb@@ -39,6 +39,8 @@ class AttributeHelpText::Project < AttributeHelpTextattributes[field.attribute_name] = field.nameend+ attributes['members'] = I18n.t(:label_member_plural)+attributesenddiff --git a/app/views/members/_member_form.html.erb b/app/views/members/_member_form.html.erbindex 33e60593a3d..75c1f9bc70d 100644--- a/app/views/members/_member_form.html.erb+++ b/app/views/members/_member_form.html.erb@@ -56,7 +56,15 @@ See COPYRIGHT and LICENSE files for more details.</div><div class="grid-content medium-8 small-12 -flex -with-button"><div class="form--field">- <%= styled_label_tag :member_role_ids, t(:label_role_search) %>+ <%= styled_label_tag :member_role_ids do %>+ <%= content_tag :span, t(:label_role_search) %>+ <%= angular_component_tag 'attribute-help-text',+ inputs: {+ attribute: 'members',+ attributeScope: 'Project'+ }+ %>+ <% end %><div class="form--field-container"><div class="form--select-container -auto"><% options = roles.collect { |obj| [obj.name, obj.id] } %>diff --git a/frontend/src/app/shared/components/grids/widgets/members/members.component.html b/frontend/src/app/shared/components/grids/widgets/members/members.component.htmlindex 65cfa44d218..d9517f04e86 100644--- a/frontend/src/app/shared/components/grids/widgets/members/members.component.html+++ b/frontend/src/app/shared/components/grids/widgets/members/members.component.html@@ -2,6 +2,10 @@[name]="widgetName"[editable]="isEditable">+ <attribute-help-text slot="prepend"+ attribute="members"+ [attributeScope]="'Project'"></attribute-help-text>+<widget-menuslot="menu"[resource]="resource">