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

Fixes #27537 - Show tooltip for vm memory size #6964

Merged
merged 1 commit into from
Aug 8, 2019

Conversation

xprazak2
Copy link
Contributor

@xprazak2 xprazak2 commented Aug 7, 2019

No description provided.

@theforeman-bot
Copy link
Member

Issues: #27537

@ares
Copy link
Member

ares commented Aug 7, 2019

this is fine but just a workaround for broken spinner field, I think @ezr-ondrej looked at the issue a while ago so he may have some lead on how to fix it properly

@ezr-ondrej
Copy link
Member

Yeah, this will work, because different javascript is catching it, but it doesn't solve the core issue.
It's a working workaround and I believe better solution anyway 👍

@@ -220,7 +220,7 @@ def byte_size_f(f, attr, options = {})
options[:label_help] = _("When specifying custom value, add 'MB' or 'GB' at the end. Field is not case sensitive and MB is default if unspecified.")
options[:help_block] ||= soft_limit_warning_block
options[:help_block] += f.hidden_field(attr, :class => "real-hidden-value", :id => nil)
options[:label_help_options] = { :rel => 'popover-modal' }
options[:label_help_options] = { :data => { :placement => 'right' } }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can just delete it, to be consistent with other fields whatever we decide to use globaly? Or is there a reason to be always on the right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's just that other tooltips in the form are on the right. But it is a default, so I deleted it as suggested.

Copy link
Member

@ezr-ondrej ezr-ondrej left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 👍 Thanks @xprazak2 merging.

@ezr-ondrej
Copy link
Member

failures of travis just an fetch failure on one version, ignoring...

@ezr-ondrej ezr-ondrej merged commit 6fc615b into theforeman:develop Aug 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants