angular.module('syncthing.core')
.directive('notification', function () {
return {
restrict: 'E',
scope: {},
transclude: true,
template: '
',
link: function (scope, elm, attrs) {
scope.visible = function () {
return scope.$parent.config.options.unackedNotificationIDs.indexOf(attrs.id) > -1;
};
}
};
});