diff --git a/public/app/features/dashlinks/editor.html b/public/app/features/dashlinks/editor.html index 9339590823e..a5f442a8e65 100644 --- a/public/app/features/dashlinks/editor.html +++ b/public/app/features/dashlinks/editor.html @@ -27,6 +27,16 @@
  • +
  • + +
  • +
  • + Title +
  • +
  • + +
  • +
  • Url
  • diff --git a/public/app/features/dashlinks/module.html b/public/app/features/dashlinks/module.html deleted file mode 100644 index 32c001ccd38..00000000000 --- a/public/app/features/dashlinks/module.html +++ /dev/null @@ -1,6 +0,0 @@ - diff --git a/public/app/features/dashlinks/module.js b/public/app/features/dashlinks/module.js index ff27d288f46..40a4a8ad6e6 100644 --- a/public/app/features/dashlinks/module.js +++ b/public/app/features/dashlinks/module.js @@ -42,21 +42,33 @@ function (angular, _) { }; }); - module.directive('dashLink', function(templateSrv) { + module.directive('dashLink', function($compile, linkSrv) { return { - scope: { - link: "=" - }, restrict: 'E', - templateUrl: 'app/features/dashlinks/module.html', link: function(scope, elem) { + var link = scope.link; + var template = '