-
Notifications
You must be signed in to change notification settings - Fork 991
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
Fixes #36872 - Banner for different foreman instances #9872
Conversation
2b69d68
to
e8f999a
Compare
@@ -81,9 +81,14 @@ | |||
collection: timezones) | |||
setting('instance_title', | |||
type: :string, | |||
description: N_("The instance title is shown on the top navigation bar (requires a page reload)."), | |||
description: N_("The instance title is shown under the header in a banner (requires a page reload)."), |
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.
Just a detail, but isn't it "above" rather than "under" the header?
Other than that, everything looks great, I also tried multiple banner colors
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.
Youre right, thanks!
dcb68b1
to
cb7be65
Compare
Needs a rebase now |
cb7be65
to
86347e3
Compare
Thanks, rebased, (edited the layout test file) |
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.
Thanks, @MariaAga. One question though: should we validate color value via settings validator or maybe have somewhere mentioning that invalid values will be ignored and the default (#000000) value will be used instead?
I mean, even if it's obvious, some users might think that the feature doesn't work because of e.g. a simple typo.
86347e3
to
89b5a1f
Compare
@ofedoren Thanks, I rephrased the setting to mention that. |
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.
Thanks, @MariaAga, I guess that could work :)
example:
settings: