diff --git a/html/ajax_search.php b/html/ajax_search.php index 97541358a1..06fb8933ee 100644 --- a/html/ajax_search.php +++ b/html/ajax_search.php @@ -182,9 +182,9 @@ if (isset($_REQUEST['search'])) { } if ($result['bgpPeerRemoteAs'] == $result['bgpLocalAs']) { - $bgp_image = ''; + $bgp_image = 'fa fa-square fa-lg icon-theme'; } else { - $bgp_image = ''; + $bgp_image = 'fa fa-external-link-square fa-lg icon-theme'; } $bgp[] = array( diff --git a/resources/views/layouts/menu.blade.php b/resources/views/layouts/menu.blade.php index 1fe2e5f993..be5025ef4e 100644 --- a/resources/views/layouts/menu.blade.php +++ b/resources/views/layouts/menu.blade.php @@ -670,7 +670,7 @@ valueKey: 'name', templates: { header: '
 BGP Sessions
', - suggestion: Handlebars.compile('

@{{bgp_image}} @{{name}} - @{{hostname}}
AS@{{localas}} -> AS@{{remoteas}}

') + suggestion: Handlebars.compile('

@{{name}} - @{{hostname}}
AS@{{localas}} -> AS@{{remoteas}}

') } }).on('typeahead:select', function (ev, suggestion) { window.location.href = suggestion.url;