Skip to content

Commit

Permalink
Merge pull request #4920 from epwinchell/fix_icon_classes
Browse files Browse the repository at this point in the history
fix icon font family class
  • Loading branch information
himdel committed Nov 19, 2018
2 parents 77eea9a + 48e6e45 commit 8be68a9
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion app/decorators/miq_action_decorator.rb
Expand Up @@ -16,7 +16,7 @@ def fonticon
when 'inherit_parent_tags'
'fa fa-tags'
when 'reconfigure_cpus'
'fa pficon-cpu'
'pficon pficon-cpu'
when 'reconfigure_memory'
'pficon pficon-memory'
when 'remove_tags'
Expand Down
Expand Up @@ -103,7 +103,7 @@ def self.included(included_class)
included_class.button_group('vm_access', [
included_class.select(
:vm_remote_access_choice,
'fa pficon-screen fa-lg',
'pficon pficon-screen fa-lg',
N_('VM Remote Access'),
N_('Access'),
:items => [
Expand Down
Expand Up @@ -19,7 +19,7 @@ class ApplicationHelper::Toolbar::ContainerProjectView < ApplicationHelper::Tool
),
twostate(
:view_topology,
'fa pficon-topology',
'pficon pficon-topology',
N_('Topology View'),
nil,
:url => "/show",
Expand Down
Expand Up @@ -19,7 +19,7 @@ class ApplicationHelper::Toolbar::DashboardSummaryToggleView < ApplicationHelper
),
twostate(
:view_topology,
'fa pficon-topology',
'pficon pficon-topology',
N_('Topology View'),
nil,
:url => "/",
Expand Down
Expand Up @@ -20,7 +20,7 @@ class ApplicationHelper::Toolbar::EmsContainerCenter < ApplicationHelper::Toolba
:klass => ApplicationHelper::Button::EmsRefresh),
button(
:ems_container_capture_metrics,
'fa pficon-import fa-lg',
'pficon pficon-import fa-lg',
N_('Capture metrics related to this Containers Provider'),
N_('Capture metrics'),
:confirm => N_("Capture metrics related to this Containers Provider?"),
Expand Down
Expand Up @@ -18,7 +18,7 @@ class ApplicationHelper::Toolbar::EmsContainersCenter < ApplicationHelper::Toolb
:onwhen => "1+"),
button(
:ems_container_capture_metrics,
'fa pficon-import fa-lg',
'pficon pficon-import fa-lg',
N_('Capture metrics for selected Containers Providers'),
N_('Capture metrics'),
:confirm => N_("Capture metrics for selected Containers Providers?"),
Expand Down
Expand Up @@ -80,7 +80,7 @@ class ApplicationHelper::Toolbar::EmsPhysicalInfraCenter < ApplicationHelper::To
button_group('ems_physical_infra_console_access', [
select(
:ems_physical_infra_console_choice,
'fa pficon-screen fa-lg',
'pficon pficon-screen fa-lg',
N_('Remote Access'),
N_('Access'),
:items => [
Expand Down
Expand Up @@ -110,7 +110,7 @@ class ApplicationHelper::Toolbar::PhysicalServerCenter < ApplicationHelper::Tool
[
select(
:physical_server_remote_access_choice,
'fa pficon-screen fa-lg',
'pficon pficon-screen fa-lg',
N_('Physical Server Remote Access'),
N_('Access'),
:enabled => true,
Expand Down
Expand Up @@ -20,7 +20,7 @@ class ApplicationHelper::Toolbar::StackOrchestrationTemplateCenter < Application
:klass => ApplicationHelper::Button::OrchestrationTemplateOrderable),
button(
:orchestration_templates_view,
'fa pficon-info fa-lg',
'pficon pficon-info fa-lg',
t = N_('View this Orchestration Template in Catalogs'),
t,
:klass => ApplicationHelper::Button::OrchestrationTemplateViewInCatalog),
Expand Down
2 changes: 1 addition & 1 deletion app/helpers/application_helper/toolbar/x_vm_center.rb
Expand Up @@ -250,7 +250,7 @@ class ApplicationHelper::Toolbar::XVmCenter < ApplicationHelper::Toolbar::Basic
button_group('vm_access', [
select(
:vm_remote_access_choice,
'fa pficon-screen fa-lg',
'pficon pficon-screen fa-lg',
N_('VM Remote Access'),
N_('Access'),
:items => [
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/_header.html.haml
Expand Up @@ -21,7 +21,7 @@
- if menu_section.visible?
%li.dropdown
%a#help-menu.dropdown-toggle.nav-item-iconic{"data-toggle" => "dropdown", "aria-haspopup" => "true", "aria-expanded" => "true"}
%span.fa.pficon-help{:title => _("Help")}
%span.pficon.pficon-help{:title => _("Help")}
%span.caret
%ul.dropdown-menu{"aria-labelledby" => "help-menu"}
- menu_section.items.each do |menu_item|
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/_user_options.html.haml
@@ -1,7 +1,7 @@
- if current_user
%li.dropdown
%a{:href => "#", :class => "dropdown-toggle nav-item-iconic", :id => "dropdownMenu2", "data-toggle" => "dropdown", "aria-haspopup" => "true"}
%span.fa.pficon-user
%span.pficon.pficon-user
%p.navbar__user-name{"data-userid" => current_user.userid, :id => "username_display"}
= "#{current_user.name} | #{appliance_name}"
%span.caret
Expand Down

0 comments on commit 8be68a9

Please sign in to comment.