mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
A lot of css style polish for submenu (template var selection, and new dashlinks)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<a class="pointer">
|
||||
<a class="pointer dash-nav-link" bs-tooltip="'asd'">
|
||||
<i class="fa fa-th-large"></i>
|
||||
<span></span>
|
||||
</a>
|
||||
|
||||
@@ -32,6 +32,10 @@ function (angular, _) {
|
||||
var linkInfo = linkSrv.getPanelLinkAnchorInfo(scope.link);
|
||||
elem.find("span").text(linkInfo.title);
|
||||
elem.find("a").attr("href", linkInfo.href);
|
||||
|
||||
if (scope.link.type === 'dashboard') {
|
||||
scope.tooltip = 'Go to dashboard';
|
||||
}
|
||||
}
|
||||
|
||||
update();
|
||||
|
||||
Reference in New Issue
Block a user