Fix template paths
This commit is contained in:
parent
c0b485c1e1
commit
27f00c55a0
|
@ -122,7 +122,7 @@ class MspOAuthSessionViewMixin(LoggerMixin):
|
|||
'''Show a page to close the current popup and reload the parent window
|
||||
with the return url.
|
||||
'''
|
||||
return render(request, 'msp/close-popup-redirect.html', {'redirect_to': next_url})
|
||||
return render(request, 'authentic2_auth_msp/close-popup-redirect.html', {'redirect_to': next_url})
|
||||
|
||||
def simple_redirect(self, request, next_url, *args, **kwargs):
|
||||
return HttpResponseRedirect(next_url)
|
||||
|
@ -502,13 +502,13 @@ class TemplateWithNextUrlView(TemplateView):
|
|||
return ctx
|
||||
|
||||
class LinkManagementView(TemplateWithNextUrlView):
|
||||
template_name = 'msp/link_management.html'
|
||||
template_name = 'authentic2_auth_msp/link_management.html'
|
||||
|
||||
link_management = mspaccount_required(LinkManagementView.as_view())
|
||||
link_management = login_required(link_management)
|
||||
|
||||
class ConfirmUnlinkView(TemplateWithNextUrlView):
|
||||
template_name = 'msp/confirm_unlink.html'
|
||||
template_name = 'authentic2_auth_msp/confirm_unlink.html'
|
||||
|
||||
def get_context_data(self, **kwargs):
|
||||
ctx = super(ConfirmUnlinkView, self).get_context_data(**kwargs)
|
||||
|
@ -520,7 +520,7 @@ confirm_unlink = login_required(confirm_unlink)
|
|||
|
||||
|
||||
class UnlinkDoneView(TemplateWithNextUrlView):
|
||||
template_name = 'msp/unlink_done.html'
|
||||
template_name = 'authentic2_auth_msp/unlink_done.html'
|
||||
|
||||
unlink_done = UnlinkDoneView.as_view()
|
||||
|
||||
|
|
Reference in New Issue