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

Display the correct report title on full screen widget screens #3104

Merged
merged 1 commit into from Dec 19, 2017

Conversation

skateman
Copy link
Member

When displaying a dashboard widget in a new window (full screen option in its kebab), the title was set by the @layout instance variable. Instead of this it should set to @report.title, so changing it.

TODO: it would be better to move out this report_only condition from the application.html.haml and create a new layout. It would ease testing and maintainability.

@miq-bot add_label bug, gaprindashvili/yes, cloud intel/dashboard

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

@miq-bot
Copy link
Member

miq-bot commented Dec 19, 2017

Checked commit skateman@059fc2c with ruby 2.3.3, rubocop 0.47.1, haml-lint 0.20.0, and yamllint 1.10.0
0 files checked, 0 offenses detected
Everything looks fine. 👍

@mzazrivec mzazrivec self-assigned this Dec 19, 2017
@mzazrivec mzazrivec added this to the Sprint 76 Ending Jan 1, 2018 milestone Dec 19, 2017
@mzazrivec mzazrivec merged commit c5974e5 into ManageIQ:master Dec 19, 2017
@skateman skateman deleted the fix-report-title branch December 19, 2017 14:22
simaishi pushed a commit that referenced this pull request Dec 19, 2017
Display the correct report title on full screen widget screens
(cherry picked from commit c5974e5)

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

Gaprindashvili backport details:

$ git log -1
commit 359d41d73d38e3f77b0d44812146f453b8db3be9
Author: Milan Zázrivec <mzazrivec@redhat.com>
Date:   Tue Dec 19 15:13:05 2017 +0100

    Merge pull request #3104 from skateman/fix-report-title
    
    Display the correct report title on full screen widget screens
    (cherry picked from commit c5974e5644c096e27b632384e3a68f0f4caa0c4e)
    
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1527580

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

4 participants