mirror of https://github.com/portainer/portainer
15 lines
343 B
JavaScript
15 lines
343 B
JavaScript
angular
|
|
.module('portainer')
|
|
.directive('rdHeaderTitle', function rdHeaderTitle() {
|
|
var directive = {
|
|
requires: '^rdHeader',
|
|
scope: {
|
|
title: '@'
|
|
},
|
|
transclude: true,
|
|
template: '<div class="page">{{title}}<span class="header_title_content" ng-transclude><span></div>',
|
|
restrict: 'E'
|
|
};
|
|
return directive;
|
|
});
|