17 lines
453 B
CoffeeScript
17 lines
453 B
CoffeeScript
LbImportErrorDirective = (lightboxService) ->
|
|
link = (scope, el, attrs) ->
|
|
lightboxService.open(el)
|
|
|
|
scope.close = () ->
|
|
lightboxService.close(el)
|
|
return
|
|
|
|
return {
|
|
templateUrl: "projects/create/import/import-project-error-lb.html",
|
|
link: link
|
|
}
|
|
|
|
LbImportErrorDirective.$inject = ["lightboxService"]
|
|
|
|
angular.module("taigaProjects").directive("tgLbImportError", LbImportErrorDirective)
|