{{template "repo/header" .}}
{{template "repo/sub_menu" .}}
{{$branchDropdownCurrentRefType := "branch"}} {{$branchDropdownCurrentRefShortName := .BranchName}} {{if .IsViewTag}} {{$branchDropdownCurrentRefType = "tag"}} {{$branchDropdownCurrentRefShortName = .TagName}} {{end}} {{template "repo/branch_dropdown" dict "Repository" .Repository "ShowTabBranches" true "ShowTabTags" true "CurrentRefType" $branchDropdownCurrentRefType "CurrentRefShortName" $branchDropdownCurrentRefShortName "CurrentTreePath" .TreePath "RefLinkTemplate" "{RepoLink}/commits/{RefType}/{RefShortName}/{TreePath}" "AllowCreateNewRef" .CanCreateBranch }} {{svg "octicon-git-branch"}} {{ctx.Locale.Tr "repo.commit_graph"}}
{{template "repo/commits_table" .}}