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