Skip to content

Commit

Permalink
Merge pull request ManageIQ#11792 from nimrodshn/bug_1380683_fix
Browse files Browse the repository at this point in the history
Fixed parsing in miq_policy_controller for the conditions view
  • Loading branch information
Dan Clarizio committed Oct 14, 2016
2 parents 3f2171b + d1c3be8 commit 8d8858a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/controllers/miq_policy_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -628,11 +628,11 @@ def replace_right_cell(nodetype, replace_trees = [], presenter = nil)
else
if @right_cell_text == @edit
_("Editing %{model} Condition \"%{name}\"") %
{:name => @condition.description.gsub(/'/, "\\'"),
{:name => @condition.description,
:model => ui_lookup(:model => @edit[:new][:towhat])}
else
_("%{model} Condition \"%{name}\"") %
{:name => @condition.description.gsub(/'/, "\\'"),
{:name => @condition.description,
:model => ui_lookup(:model => @condition.towhat)}
end
end
Expand Down

0 comments on commit 8d8858a

Please sign in to comment.