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