Skip to content

Commit

Permalink
Fix toolbar buttons to be same
Browse files Browse the repository at this point in the history
  • Loading branch information
ZitaNemeckova committed Jun 23, 2017
1 parent 5c86be3 commit efbf1ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/controllers/mixins/manager_controller_mixin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ def form_fields
private

def tag_action
(params[:action] == 'x_button'&& ['automation_manager_provider_tag', 'configuration_manager_provider_tag'].include?(params[:pressed])) || (params[:action] == 'tagging'&& params[:pressed] == 'reset')
(params[:action] == 'x_button' && %w(automation_manager_provider_tag configuration_manager_provider_tag).include?(params[:pressed])) || (params[:action] == 'tagging' && params[:pressed] == 'reset')
end

def replace_right_cell(options = {})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ class ApplicationHelper::Toolbar::ConfigurationManagerProvidersCenter < Applicat
'fa fa-shield fa-lg',
t = N_('Policy'),
t,
:items => [
:enabled => false,
:onwhen => "1+",
:items => [
button(
:configuration_manager_provider_tag,
'pficon pficon-edit fa-lg',
Expand Down

0 comments on commit efbf1ac

Please sign in to comment.