-
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
decorator icon cleanup #181
decorator icon cleanup #181
Conversation
@epwinchell Cannot apply the following label because they are not recognized: euwe |
@miq-bot add_label technical debt, euwe/no |
So, we can't remove these because those are still being used for single quadicons - http://localhost:3000/orchestration_stack/show_list?type=tile for example |
(But I don't see any technical reasons why quadicons couldn't use the fonticon as well, they just don't do that yet - created an issue: #198) |
Uh, can you fix the rubocop thing too please? |
"pficon pficon-ok" | ||
when "error" | ||
"pficon pficon-error-circle-o" | ||
# else - handled in application controller |
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.
this comment is not true here anymore..
end | ||
|
||
def listicon_image | ||
case request_status.to_s.downcase | ||
when "ok" | ||
"100/checkmark.png" | ||
"pficon pficon-ok" |
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.
broken?
when "error" | ||
"100/x.png" | ||
# else - handled in application controller | ||
# "100/#{@listicon.downcase}.png" | ||
"pficon pficon-error-circle-o" |
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.
same here
@himdel fixed |
Thanks! merging when green... |
Checked commit https://github.com/epwinchell/manageiq-ui-classic/commit/ad0346a77ebe4068861d2a26a865a2511ef1163e with ruby 2.2.6, rubocop 0.46.0, and haml-lint 0.19.0 |
No description provided.