-
Notifications
You must be signed in to change notification settings - Fork 356
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
Replace images with icons in root nodes #128
Conversation
@epwinchell Cannot apply the following label because they are not recognized: technical debt wip |
cc @skateman |
@miq-bot add_label technical debt, wip |
@miq-bot rm_label wip |
@miq-bot add_label euwe/no |
node[:cfmeNoClick] = !leaf | ||
node[:image] = image && ActionController::Base.helpers.image_path(image) | ||
node[:icon] = image && ActionController::Base.helpers.image_path(image) |
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.
node[:icon] = leaf ? nil : "fa fa-tag"
And remove line 8
Checked commit https://github.com/epwinchell/manageiq-ui-classic/commit/2ff74a90492e2b4035df5e49292450d8fcc85b94 with ruby 2.2.6, rubocop 0.46.0, and haml-lint 0.19.0 |
https://www.pivotaltracker.com/story/show/129371557