Changed the attribute 'title' (reserved) to 'heading' for the modal template GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3281
17 lines
406 B
JavaScript
17 lines
406 B
JavaScript
angular.module('syncthing.core')
|
|
.directive('modal', function () {
|
|
return {
|
|
restrict: 'E',
|
|
templateUrl: 'modal.html',
|
|
replace: true,
|
|
transclude: true,
|
|
scope: {
|
|
heading: '@',
|
|
status: '@',
|
|
icon: '@',
|
|
close: '@',
|
|
large: '@'
|
|
}
|
|
};
|
|
});
|