-
Notifications
You must be signed in to change notification settings - Fork 896
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Method for Human name of virtual custom attributes #14835
Method for Human name of virtual custom attributes #14835
Conversation
example: to_human(‘virtual_custom_attribute_some_name’) => ‘Custom Attribute: some_name’ to_human(‘virtual_custom_attribute_some_name:SECTION:docker_labels’) => ‘Docker Labels: some_name’
@lpichler Cannot apply the following label because they are not recognized: enhacement |
@miq-bot add_label euwe/yes, fine/yes |
Checked commits lpichler/manageiq@b64bf9b~...b3c4507 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 |
cc @zeari |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great @lpichler
…attribute Method for Human name of virtual custom attributes (cherry picked from commit 995b737)
Fine backport details:
|
Backported to Euwe via #14971 |
pulled out from #14823
Get human name for virtual custom attribute with section
example:
This PR together with UI ManageIQ/manageiq-ui-classic#1099 is using the method for displaying human form of virtual custom attributes in report definition:
At this moment are custom attribute displayed in the format:
'Custom Attribute: some_name'
@miq-bot add_label enhacement, core
@miq-bot assign @gtanzillo
Links
follow up of #14391
BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1434077
UI PR: ManageIQ/manageiq-ui-classic#1099