diff --git a/awx/main/middleware.py b/awx/main/middleware.py index 759c2daa98..8bfd273811 100644 --- a/awx/main/middleware.py +++ b/awx/main/middleware.py @@ -181,4 +181,4 @@ class MigrationRanCheckMiddleware(MiddlewareMixin): plan = executor.migration_plan(executor.loader.graph.leaf_nodes()) if bool(plan) and \ getattr(resolve(request.path), 'url_name', '') != 'migrations_notran': - return redirect(reverse("ui:migrations_notran")) + return redirect(reverse("ui_next:migrations_notran")) diff --git a/awx/ui_next/public/installing.html b/awx/ui_next/public/installing.html new file mode 100644 index 0000000000..6495b7091c --- /dev/null +++ b/awx/ui_next/public/installing.html @@ -0,0 +1,25 @@ + + + + + + + + + + +
+ +

AWX is installing.

+

This page will refresh when complete.

+
+
+ + diff --git a/awx/ui_next/urls.py b/awx/ui_next/urls.py index 03c3bbd3d2..6612cee0eb 100644 --- a/awx/ui_next/urls.py +++ b/awx/ui_next/urls.py @@ -7,9 +7,14 @@ class IndexView(TemplateView): template_name = 'index.html' +class MigrationsNotran(TemplateView): + + template_name = 'installing.html' + + app_name = 'ui_next' urlpatterns = [ url(r'^$', IndexView.as_view(), name='index'), - #url(r'^migrations_notran/$', migrations_notran, name='migrations_notran'), + url(r'^migrations_notran/$', MigrationsNotran.as_view(), name='migrations_notran'), ]