-
Notifications
You must be signed in to change notification settings - Fork 357
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
Fixed variable name to display value of extra_vars on Retirement tab #875
Fixed variable name to display value of extra_vars on Retirement tab #875
Conversation
@@ -314,8 +314,8 @@ | |||
%th | |||
= _("Default value") | |||
%tbody | |||
- if retirement[:extra_vars] | |||
- retirement[:extra_vars].each do |key, value| |
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.
@h-kataria - did this ever work? - Or did something else change at the controller level which no longer passed retirement
in?
- if retirement[:extra_vars] | ||
- retirement[:extra_vars].each do |key, value| | ||
- if @record.config_info[:retirement][:extra_vars] | ||
- @record.config_info[:retirement][:extra_vars].each do |key, value| |
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.
I tested this - it works for me.
cf5b5f2
to
0ac5791
Compare
Checked commit h-kataria@0ac5791 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 |
@dclarizio please review/merge |
Fixed variable name to display value of extra_vars on Retirement tab (cherry picked from commit 3393d3c) https://bugzilla.redhat.com/show_bug.cgi?id=1438825
Fine backport details:
|
https://bugzilla.redhat.com/show_bug.cgi?id=1437496
@syncrou @gmcculloug please review/test
before:
after: