-
Notifications
You must be signed in to change notification settings - Fork 92
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
Add template decorator #309
Conversation
@alexander-demichev 'skateman' is an invalid reviewer, ignoring... |
@@ -0,0 +1,9 @@ | |||
class ManageIQ::Providers::Openstack::CloudManager::TemplateDecorator < MiqTemplateDecorator | |||
def single_quad |
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.
You don't need this line since you're inheriting the method from MiqTemplateDecorator
.
{} | ||
end | ||
|
||
def size_tooltip |
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.
I think you should give it a little more meaningful name, like provisioning_volume_size_tooltip
but you might come up with something better.
88bc1f6
to
20f863d
Compare
Checked commit alexander-demicev@20f863d with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 |
@alexander-demichev Could you paste a link to the decorator's PR which should be merged before this PR? |
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.
Add a UI decorator for template. Method
provisioning_volume_size_tooltip
returns message that will be displayed in instance provisioning.