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

Do not use generic object fileicon if no picture specified #4040

Merged
merged 1 commit into from Jun 5, 2018

Conversation

skateman
Copy link
Member

@skateman skateman commented Jun 4, 2018

We want to prefer fonticons if possible, and the generic_object.png is something we want to get rid of.

Parent issue: #4051

@skateman
Copy link
Member Author

skateman commented Jun 4, 2018

@miq-bot add_reviewer @epwinchell

@miq-bot miq-bot requested a review from epwinchell June 4, 2018 17:11
@miq-bot
Copy link
Member

miq-bot commented Jun 4, 2018

Checked commit skateman@0a9c31e with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
1 file checked, 0 offenses detected
Everything looks fine. 🍪

@@ -4,6 +4,6 @@ def self.fonticon
end

def fileicon
try(:picture) ? "/pictures/#{picture.basename}" : "100/generic_object.png"
try(:picture) ? "/pictures/#{picture.basename}" : nil
Copy link
Contributor

Choose a reason for hiding this comment

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

@skateman What about ff-generic-object ?

Copy link
Member Author

Choose a reason for hiding this comment

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

@epwinchell that's being used, see above. But if the picture is defined, it overrides the fonticon.

@epwinchell
Copy link
Contributor

@skateman I approve

@h-kataria h-kataria self-assigned this Jun 4, 2018
@skateman
Copy link
Member Author

skateman commented Jun 5, 2018

@himdel @mzazrivec merge?

@mzazrivec mzazrivec assigned mzazrivec and unassigned h-kataria Jun 5, 2018
@mzazrivec mzazrivec added this to the Sprint 88 Ending Jun 17, 2018 milestone Jun 5, 2018
@mzazrivec mzazrivec merged commit 9520a1d into ManageIQ:master Jun 5, 2018
@skateman skateman deleted the generic-object-fonticon branch June 5, 2018 06:41
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

5 participants