diff --git a/InvenTree/InvenTree/urls.py b/InvenTree/InvenTree/urls.py index 28854e311d..88160e76c1 100644 --- a/InvenTree/InvenTree/urls.py +++ b/InvenTree/InvenTree/urls.py @@ -133,7 +133,7 @@ urlpatterns = [ url(r'^auth/', include('rest_framework.urls', namespace='rest_framework')), url(r'^login/?', auth_views.LoginView.as_view(), name='login'), - url(r'^logout/', auth_views.LogoutView.as_view(template_name='registration/logout.html'), name='logout'), + url(r'^logout/', auth_views.LogoutView.as_view(template_name='registration/logged_out.html'), name='logout'), url(r'^settings/', include(settings_urls)), diff --git a/InvenTree/templates/registration/logged_out.html b/InvenTree/templates/registration/logged_out.html new file mode 100644 index 0000000000..b23ba001e2 --- /dev/null +++ b/InvenTree/templates/registration/logged_out.html @@ -0,0 +1,59 @@ +{% load static %} +{% load i18n %} +{% load crispy_forms_tags %} + + + + + + + + + + + + + + + + + + + + + + + + + InvenTree + + + + + +
+ +
+
+
+ +
+ +
+

{% trans "You have been logged out" %}

+

{% trans "Return to login screen" %}

+
+
+
+
+ +
+ + \ No newline at end of file diff --git a/InvenTree/templates/registration/logout.html b/InvenTree/templates/registration/logout.html deleted file mode 100644 index 1ce04b6472..0000000000 --- a/InvenTree/templates/registration/logout.html +++ /dev/null @@ -1,8 +0,0 @@ -{% extends "base.html" %} -{% load i18n %} - -{% block content %} -

{% trans "Logout" %}

-

{% trans "You have been logged out" %}

-

{% trans 'Click' %} {% trans 'here to log in

' %} -{% endblock %} \ No newline at end of file