Use icon font instead of images in the dashboard settings tab extension

This commit is contained in:
Eric Lippmann 2016-01-11 15:50:45 +01:00
parent 7c1ccc685f
commit 79fbed0ad4
1 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ class DashboardSettings implements Tabextension
$tabs->addAsDropdown( $tabs->addAsDropdown(
'dashboard_add', 'dashboard_add',
array( array(
'icon' => 'img/icons/dashboard.png', 'icon' => 'dashboard',
'label' => t('Add Dashlet'), 'label' => t('Add Dashlet'),
'url' => Url::fromPath('dashboard/new-dashlet') 'url' => Url::fromPath('dashboard/new-dashlet')
) )
@ -30,7 +30,7 @@ class DashboardSettings implements Tabextension
$tabs->addAsDropdown( $tabs->addAsDropdown(
'dashboard_settings', 'dashboard_settings',
array( array(
'icon' => 'img/icons/dashboard.png', 'icon' => 'dashboard',
'label' => t('Settings'), 'label' => t('Settings'),
'url' => Url::fromPath('dashboard/settings') 'url' => Url::fromPath('dashboard/settings')
) )