remove font awesome stuff
This commit is contained in:
parent
334c872b93
commit
5e7f96a82e
1 changed files with 1 additions and 3 deletions
|
|
@ -221,14 +221,12 @@ class SearchResultsPagerBlock extends BlockBase implements ContainerFactoryPlugi
|
||||||
|
|
||||||
if ($config->get(SettingsForm::DISPLAY_LIST_FLAG) == 1) {
|
if ($config->get(SettingsForm::DISPLAY_LIST_FLAG) == 1) {
|
||||||
$display_options['list'] = [
|
$display_options['list'] = [
|
||||||
'icon' => 'fa-list',
|
|
||||||
'title' => $this->t('List'),
|
'title' => $this->t('List'),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($config->get(SettingsForm::DISPLAY_GRID_FLAG) == 1) {
|
if ($config->get(SettingsForm::DISPLAY_GRID_FLAG) == 1) {
|
||||||
$display_options['grid'] = [
|
$display_options['grid'] = [
|
||||||
'icon' => 'fa-th',
|
|
||||||
'title' => $this->t('Grid'),
|
'title' => $this->t('Grid'),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
@ -240,7 +238,7 @@ class SearchResultsPagerBlock extends BlockBase implements ContainerFactoryPlugi
|
||||||
'query' => array_merge($query_parameters, ['display' => $display]),
|
'query' => array_merge($query_parameters, ['display' => $display]),
|
||||||
'absolute' => TRUE,
|
'absolute' => TRUE,
|
||||||
]);
|
]);
|
||||||
$text = "<i class='fa {$options['icon']}' aria-hidden='true'> </i><span class='display-mode'>{$options['title']}</span>";
|
$text = "<span class='display-mode'>{$options['title']}</span>";
|
||||||
$active = $active_display == $display;
|
$active = $active_display == $display;
|
||||||
$items[] = [
|
$items[] = [
|
||||||
'#type' => 'link',
|
'#type' => 'link',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue