diff --git a/public/app/features/dashboard/dashnav/dashnav.html b/public/app/features/dashboard/dashnav/dashnav.html index 1e416b4f90d..89f9f301729 100644 --- a/public/app/features/dashboard/dashnav/dashnav.html +++ b/public/app/features/dashboard/dashnav/dashnav.html @@ -27,13 +27,17 @@
  • + + Link to Dashboard + +
  • +
  • + + Snapshot sharing + +
  • +
  • diff --git a/public/app/features/panel/panel_menu.js b/public/app/features/panel/panel_menu.js index c0cf8e77f02..b23da0f2a88 100644 --- a/public/app/features/panel/panel_menu.js +++ b/public/app/features/panel/panel_menu.js @@ -12,7 +12,7 @@ function (angular, $, _) { var linkTemplate = '' + '{{ctrl.panel.title | interpolateTemplateVars:this}}' + - '' + + '' + ' {{ctrl.timeInfo}}' + ''; @@ -28,6 +28,7 @@ function (angular, $, _) { } return template; } + function createMenuTemplate(ctrl) { var template = '
    '; @@ -124,8 +125,8 @@ function (angular, $, _) { } var menuTemplate; - if ($(e.target).hasClass('fa-link')) { - menuTemplate = createExternalLinkMenu($scope); + if ($(e.target).hasClass('fa-external-link')) { + menuTemplate = createExternalLinkMenu(ctrl); } else { menuTemplate = createMenuTemplate(ctrl); }