mirror of https://github.com/portainer/portainer
15 lines
345 B
JavaScript
15 lines
345 B
JavaScript
angular
|
|
.module('uifordocker')
|
|
.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;
|
|
});
|