Skip to content

allows user to custom display domain class property label in view#31

Open
gildasdarex wants to merge 1 commit into
kaleidos:masterfrom
gildasdarex:custom-label
Open

allows user to custom display domain class property label in view#31
gildasdarex wants to merge 1 commit into
kaleidos:masterfrom
gildasdarex:custom-label

Conversation

@gildasdarex
Copy link
Copy Markdown

I think that it can be good idea to allow user to customize the domain class properties label. For example in my domain class , I have a property codePostal; and I noticed that in the create , edit and list this property is diplayed in uppercase while I prefer that the form display "Code Postal".
I edit the code for this purpose. User simply add the wanted display name to config file:

    grails.plugin.admin.label.DomainClass= [
    property_in_domain_class: String_to_display_in_view
]

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 85.726% when pulling 07744e6 on gildasdarex:custom-label into 6e94839 on kaleidos:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants