mirror of
				https://github.com/scm-manager/scm-manager.git
				synced 2025-10-31 10:35:56 +01:00 
			
		
		
		
	added branches overview and navlink
This commit is contained in:
		| @@ -22,6 +22,7 @@ import { | ||||
| import { translate } from "react-i18next"; | ||||
| import RepositoryDetails from "../components/RepositoryDetails"; | ||||
| import EditRepo from "./EditRepo"; | ||||
| import BranchesOverview from "./BranchesOverview"; | ||||
| import CreateBranch from "./CreateBranch"; | ||||
| import Permissions from "../permissions/containers/Permissions"; | ||||
|  | ||||
| @@ -171,6 +172,14 @@ class RepositoryRoot extends React.Component<Props> { | ||||
|                   /> | ||||
|                 )} | ||||
|               /> | ||||
|               <Route | ||||
|                 path={`${url}/branches`} | ||||
|                 render={() => ( | ||||
|                   <BranchesOverview | ||||
|                     repository={repository} | ||||
|                   /> | ||||
|                 )} | ||||
|               /> | ||||
|               <Route | ||||
|                 path={`${url}/branches/create`} | ||||
|                 render={() => ( | ||||
| @@ -199,6 +208,14 @@ class RepositoryRoot extends React.Component<Props> { | ||||
|                   icon="fas fa-info-circle" | ||||
|                   label={t("repositoryRoot.menu.informationNavLink")} | ||||
|                 /> | ||||
|                 <RepositoryNavLink | ||||
|                   repository={repository} | ||||
|                   linkName="branches" | ||||
|                   to={`${url}/branches/`} | ||||
|                   icon="fas fa-folder-open" | ||||
|                   label={t("repositoryRoot.menu.branchesNavLink")} | ||||
|                   activeOnlyWhenExact={false} | ||||
|                 /> | ||||
|                 <RepositoryNavLink | ||||
|                   repository={repository} | ||||
|                   linkName="changesets" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user