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

Textual Summaries - textual_*_icon - support for fonticons, decorators #603

Merged
merged 3 commits into from Mar 7, 2017
Merged

Conversation

himdel
Copy link
Contributor

@himdel himdel commented Mar 7, 2017

Right now, textual summaries do use the icon_or_image partial, so they do support fonticons and images .. but so far, don't use fonticons.

This changes textual_object_icon and textual_class_icon to first try the decorator, and to be able to return a fonticon instead of image.

@epwinchell This shouldn't break anything, except possibly show fonticons instead of vm.png for MiqTemplate instances, but can you check please? Also, this should make it trivial to add fonticons to summaries :)

also don' expect `:image`, it can be `:icon` instead
@miq-bot
Copy link
Member

miq-bot commented Mar 7, 2017

Checked commits https://github.com/himdel/manageiq-ui-classic/compare/74547e8480175ec95f4799059fc8b828f980bb03~...fd8628aa5f046be3eaf9979d1bbde4ec41c12561 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
2 files checked, 0 offenses detected
Everything looks good. 🍪

@martinpovolny martinpovolny added this to the Sprint 56 Ending Mar 13, 2017 milestone Mar 7, 2017
@martinpovolny martinpovolny self-assigned this Mar 7, 2017
@martinpovolny martinpovolny merged commit 5ba6e0a into ManageIQ:master Mar 7, 2017
@himdel himdel deleted the textual-icon branch March 7, 2017 14:23
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.

None yet

3 participants