Skip to content
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

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gildasdarex
Copy link

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

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