dinamyc template loading for delete user directive
parent
8be7733707
commit
cd4ffbfb9e
|
@ -58,7 +58,10 @@ DeleteUserDirective = ($repo, $rootscope, $auth, $location, $navUrls, lightboxSe
|
||||||
event.preventDefault()
|
event.preventDefault()
|
||||||
submit()
|
submit()
|
||||||
|
|
||||||
return {link:link}
|
return {
|
||||||
|
link: link,
|
||||||
|
templateUrl: "/partials/views/modules/lightbox-delete-account.html"
|
||||||
|
}
|
||||||
|
|
||||||
module.directive("tgLbDeleteUser", ["$tgRepo", "$rootScope", "$tgAuth", "$tgLocation", "$tgNavUrls",
|
module.directive("tgLbDeleteUser", ["$tgRepo", "$rootScope", "$tgAuth", "$tgLocation", "$tgNavUrls",
|
||||||
"lightboxService", DeleteUserDirective])
|
"lightboxService", DeleteUserDirective])
|
||||||
|
|
|
@ -61,7 +61,6 @@ block content
|
||||||
ng-click="ctrl.openDeleteLightbox()") Delete Taiga account
|
ng-click="ctrl.openDeleteLightbox()") Delete Taiga account
|
||||||
|
|
||||||
div.lightbox.lightbox-delete-account.hidden(tg-lb-delete-user)
|
div.lightbox.lightbox-delete-account.hidden(tg-lb-delete-user)
|
||||||
include views/modules/lightbox-delete-account
|
|
||||||
|
|
||||||
div.lightbox.lightbox-confirm-use-gravatar.hidden
|
div.lightbox.lightbox-confirm-use-gravatar.hidden
|
||||||
include views/modules/lightbox-use-gravatar
|
include views/modules/lightbox-use-gravatar
|
||||||
|
|
|
@ -26,7 +26,8 @@ paths.tmp = "tmp/"
|
||||||
|
|
||||||
paths.jade = [
|
paths.jade = [
|
||||||
paths.app + "index.jade",
|
paths.app + "index.jade",
|
||||||
paths.app + "partials/**/*.jade"
|
paths.app + "partials/**/*.jade",
|
||||||
|
paths.app + "plugins/**/*.jade"
|
||||||
]
|
]
|
||||||
|
|
||||||
paths.images = paths.app + "images/**/*"
|
paths.images = paths.app + "images/**/*"
|
||||||
|
|
Loading…
Reference in New Issue