mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 17:37:37 -02:30
Remove vestigal django stuff for old ui
This commit is contained in:
@@ -2,7 +2,7 @@ import React from 'react';
|
||||
import {
|
||||
useRouteMatch,
|
||||
useLocation,
|
||||
BrowserRouter,
|
||||
HashRouter,
|
||||
Route,
|
||||
Switch,
|
||||
Redirect,
|
||||
@@ -76,7 +76,7 @@ function App() {
|
||||
}
|
||||
|
||||
export default () => (
|
||||
<BrowserRouter basename="/next">
|
||||
<HashRouter>
|
||||
<App />
|
||||
</BrowserRouter>
|
||||
</HashRouter>
|
||||
);
|
||||
|
||||
@@ -118,8 +118,8 @@ class PageHeaderToolbar extends Component {
|
||||
key="user"
|
||||
href={
|
||||
loggedInUser
|
||||
? `/next/users/${loggedInUser.id}/details`
|
||||
: '/next/home'
|
||||
? `/users/${loggedInUser.id}/details`
|
||||
: '/home'
|
||||
}
|
||||
>
|
||||
{i18n._(t`User Details`)}
|
||||
|
||||
@@ -10,5 +10,6 @@ class IndexView(TemplateView):
|
||||
app_name = 'ui_next'
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^next/*', IndexView.as_view(), name='ui_next')
|
||||
url(r'^$', IndexView.as_view(), name='index'),
|
||||
#url(r'^migrations_notran/$', migrations_notran, name='migrations_notran'),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user