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

Fix HAML indentation for Report Widget fragment #1782

Merged
merged 1 commit into from Jul 28, 2017
Merged

Fix HAML indentation for Report Widget fragment #1782

merged 1 commit into from Jul 28, 2017

Conversation

mfalesni
Copy link
Contributor

Missing indentation caused the widget content being outside of the div.mc which handles minimizing, therefore minimizing and maximizing of the widget did not work.

https://bugzilla.redhat.com/show_bug.cgi?id=1476305

Missing indentation caused the widget content being outisde of the div.mc which handles minimizing, therefore minimizing and maximizing of the widget did not work.

https://bugzilla.redhat.com/show_bug.cgi?id=1476305
@miq-bot
Copy link
Member

miq-bot commented Jul 28, 2017

Checked commit https://github.com/mfalesni/manageiq-ui-classic/commit/1f589f5d1fd93798d77f9ab644460631e8afad8f with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
1 file checked, 1 offense detected

app/views/dashboard/_widget_report.html.haml

  • ⚠️ - Line 12 - Tagging a string as html safe may be a security risk, prefer safe_join or other Rails tag helpers instead.

@dclarizio
Copy link

Verified in UI.

@dclarizio dclarizio merged commit 3b53934 into ManageIQ:master Jul 28, 2017
@dclarizio dclarizio added this to the Sprint 66 Ending Aug 7, 2017 milestone Jul 28, 2017
@mfalesni mfalesni deleted the fix-report-widget branch July 31, 2017 08:19
simaishi pushed a commit that referenced this pull request Aug 11, 2017
Fix HAML indentation for Report Widget fragment
(cherry picked from commit 3b53934)

https://bugzilla.redhat.com/show_bug.cgi?id=1480589
@simaishi
Copy link
Contributor

Fine backport details:

$ git log -1
commit 5c7334d239d6072fccd81cc464d129860d010a67
Author: Dan Clarizio <dclarizi@redhat.com>
Date:   Fri Jul 28 15:11:05 2017 -0700

    Merge pull request #1782 from mfalesni/fix-report-widget
    
    Fix HAML indentation for Report Widget fragment
    (cherry picked from commit 3b53934d5991359c51d04b533ad8b7a48d82efac)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1480589

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

6 participants