diff --git a/src/Umbraco.Web.UI.Client/src/common/directives/umbavatar.directive.js b/src/Umbraco.Web.UI.Client/src/common/directives/umbavatar.directive.js new file mode 100644 index 0000000000..d83fc90ed3 --- /dev/null +++ b/src/Umbraco.Web.UI.Client/src/common/directives/umbavatar.directive.js @@ -0,0 +1,14 @@ +/** +* @ngdoc directive +* @name umbraco.directives:login +* @restrict E +**/ +function avatarDirective() { + return { + restrict: "E", // restrict to an element + replace: true, // replace the html element with the template + templateUrl: 'views/directives/umb-avatar.html' + }; +} + +angular.module('umbraco.directives').directive("umbAvatar", avatarDirective); diff --git a/src/Umbraco.Web.UI.Client/src/views/directives/umb-avatar.html b/src/Umbraco.Web.UI.Client/src/views/directives/umb-avatar.html new file mode 100644 index 0000000000..b69a0a711f --- /dev/null +++ b/src/Umbraco.Web.UI.Client/src/views/directives/umb-avatar.html @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/src/Umbraco.Web.UI.Client/src/views/directives/umb-leftcolumn.html b/src/Umbraco.Web.UI.Client/src/views/directives/umb-leftcolumn.html index 8de56c7978..4ac78128cd 100644 --- a/src/Umbraco.Web.UI.Client/src/views/directives/umb-leftcolumn.html +++ b/src/Umbraco.Web.UI.Client/src/views/directives/umb-leftcolumn.html @@ -1,17 +1,16 @@