-
Notifications
You must be signed in to change notification settings - Fork 358
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
Group by tenant for chargeback|metering Vm reports #3380
Group by tenant for chargeback|metering Vm reports #3380
Conversation
@@ -139,6 +139,7 @@ | |||
- opts = [["#{_('Date')}", "date"], ["#{_(@edit[:new][:cb_model])}", "vm"]] | |||
- opts += [["#{_('Tag')}", "tag"]] unless @edit[:new][:model] == "ChargebackContainerImage" || @edit[:new][:model] == "MeteringContainerImage" | |||
- opts += [["#{_('Project')}", "project"], [_('Label'), 'label']] if @edit[:new][:model] == "ChargebackContainerImage" || @edit[:new][:model] == "MeteringContainerImage" | |||
- opts += [["#{_('Tenant')}", "tenant"]] if @edit[:new][:model] == "ChargebackVm" || @edit[:new][:model] == "MeteringVm" |
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.
%w(ChargebackVm MeteringVm).include?(@edit[:new][:model])
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.
thanks 👍
11d85d6
to
0b1ab90
Compare
Checked commit lpichler@0b1ab90 with ruby 2.3.3, rubocop 0.52.0, haml-lint 0.20.0, and yamllint 1.10.0 **
|
@lpichler Where's the backend PR for this? |
@mzazrivec backend PR ManageIQ/manageiq#17002 (the PR is done). |
@miq-bot add_label gaprindashvili/yes |
…geback_reports Group by tenant for chargeback|metering Vm reports (cherry picked from commit e87766a) https://bugzilla.redhat.com/show_bug.cgi?id=1552796
Gaprindashvili backport details:
|
Add options group by tenant to the highlighted options.
Links
@miq-bot add_label enhancement
@miq-bot assign @mzazrivec