-
Notifications
You must be signed in to change notification settings - Fork 356
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
Remove TIMER_DAYS,TIMER_HOURS,TIMER_WEEKS,TIMER_MONTHS from UiConstants #1821
Conversation
@miq-bot assign @romanblanco |
c6215db
to
e06db30
Compare
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.
@europ isn't manageiq-ui-classic/app/helpers/report_helper/timer.rb
better place for the constants?
Is |
view_helper is included everywhere and the constants are only relevant for reports. That means that @romanblanco is right.
|
…MONTHS" have been moved from UiConstants to ViewHelper
e06db30
to
2f85d49
Compare
…TIMER_WEEKS,TIMER_MONTHS"
2f85d49
to
d0ebb4b
Compare
Checked commits europ/manageiq-ui-classic@d577f5d~...d0ebb4b with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 app/helpers/report_helper/timer.rb
|
Issue: #1661
Constants
TIMER_DAYS,TIMER_HOURS,TIMER_WEEKS,TIMER_MONTHS
have been removed fromUiConstants
. Definitions of constantsTIMER_DAYS,TIMER_HOURS,TIMER_WEEKS,TIMER_MONTHS
were moved toReportHelper
. PrefixReportHelper::
was added to every occurrence of these constants.Cloud Intel -> Reports -> Schedules -> Copy of ChargeBack by Project -> Configuration -> Edit this Schedule