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

[dev.icinga.com #12616] Add modifier capitalize to import #427

Closed
icinga-migration opened this issue Sep 1, 2016 · 4 comments
Closed

[dev.icinga.com #12616] Add modifier capitalize to import #427

icinga-migration opened this issue Sep 1, 2016 · 4 comments

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/12616

Created by dgoetz on 2016-09-01 11:41:26 +00:00

Assignee: dgoetz
Status: Feedback
Target Version: (none)
Last Update: 2016-12-13 11:31:50 +00:00 (in Redmine)


Find a git patch attached which adds modifier capitalize which can simply capitalize a field during import.

Attachments

@icinga-migration
Copy link
Author

Updated by tgelf on 2016-09-05 08:14:31 +00:00

-> add "lowercase first" option

@icinga-migration
Copy link
Author

Updated by tgelf on 2016-12-13 10:17:53 +00:00

  • Status changed from New to Feedback
  • Assigned to set to dgoetz

As we recently talked about this, it is still missing the mentioned config flag as not everybody might want to lowercase first. Should this be two modifiers (lowercase is already there), or should we add a config flag for this modifier allowing one to adjust the behavior of the "capitalize" modifier? And in case you opt for the latter, would you want to try to add such a form element to your patch as an exercise - or would you prefer me doing so?

Cheers,
Thomas

@icinga-migration
Copy link
Author

Updated by dgoetz on 2016-12-13 11:31:50 +00:00

I think chaining these modifiers will work, but having only one is more user friendly.
If you could add this, I would be happy. If you are also busy, I will give it a try when I find some time.

@dgoetz
Copy link
Contributor

dgoetz commented Oct 11, 2017

I created a pull request for this, it uses a selectbox for decision if lowercase should be used with default true as I found no example for a checkbox.

dgoetz added a commit to dgoetz/icingaweb2-module-director that referenced this issue Oct 17, 2017
dgoetz added a commit to dgoetz/icingaweb2-module-director that referenced this issue Oct 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants