A lot of css style polish for submenu (template var selection, and new dashlinks)

This commit is contained in:
Torkel Ödegaard
2015-05-06 09:41:30 +02:00
parent 2c3aad785d
commit 26c9a19392
6 changed files with 33 additions and 23 deletions

View File

@@ -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>

View File

@@ -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();