mirror of
				https://github.com/scm-manager/scm-manager.git
				synced 2025-10-31 10:35:56 +01:00 
			
		
		
		
	structured branch code and translations
This commit is contained in:
		| @@ -23,8 +23,9 @@ import { | ||||
| import { translate } from "react-i18next"; | ||||
| import RepositoryDetails from "../components/RepositoryDetails"; | ||||
| import EditRepo from "./EditRepo"; | ||||
| import BranchesOverview from "./BranchesOverview"; | ||||
| import CreateBranch from "./CreateBranch"; | ||||
| import BranchesOverview from "../branches/containers/BranchesOverview"; | ||||
| import BranchView from "../branches/components/BranchView"; | ||||
| import CreateBranch from "../branches/containers/CreateBranch"; | ||||
| import Permissions from "../permissions/containers/Permissions"; | ||||
|  | ||||
| import type { History } from "history"; | ||||
| @@ -168,6 +169,15 @@ class RepositoryRoot extends React.Component<Props> { | ||||
|                   /> | ||||
|                 )} | ||||
|               /> | ||||
|               <Route | ||||
|                 path={`${url}/branch/:branch/info`} | ||||
|                 render={() => ( | ||||
|                   <BranchView | ||||
|                     repository={repository} | ||||
|                     baseUrl={`${url}/branch`} | ||||
|                   /> | ||||
|                 )} | ||||
|               /> | ||||
|               <Route | ||||
|                 path={`${url}/branch/:branch/changesets`} | ||||
|                 render={() => ( | ||||
| @@ -181,7 +191,12 @@ class RepositoryRoot extends React.Component<Props> { | ||||
|               <Route | ||||
|                 path={`${url}/branches`} | ||||
|                 exact={true} | ||||
|                 render={() => <BranchesOverview repository={repository} />} | ||||
|                 render={() => ( | ||||
|                   <BranchesOverview | ||||
|                     repository={repository} | ||||
|                     baseUrl={`${url}/branch`} | ||||
|                   /> | ||||
|                 )} | ||||
|               /> | ||||
|               <Route | ||||
|                 path={`${url}/branches/create`} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user