2015-08-20 06:18:49 -06:00
|
|
|
{{template "base/head" .}}
|
2023-02-01 15:56:10 -07:00
|
|
|
<div role="main" aria-label="{{.Title}}" class="page-content repository commits">
|
2015-12-07 15:30:52 -07:00
|
|
|
{{template "repo/header" .}}
|
|
|
|
<div class="ui container">
|
2017-10-25 18:49:16 -06:00
|
|
|
{{template "repo/sub_menu" .}}
|
2023-06-15 09:12:08 -06:00
|
|
|
<div class="repo-button-row">
|
2024-11-21 23:12:50 -07:00
|
|
|
<div class="repo-button-row-left">
|
2024-12-01 18:41:32 -07:00
|
|
|
|
|
|
|
{{$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
|
|
|
|
}}
|
|
|
|
|
2017-12-06 18:26:12 -07:00
|
|
|
<a href="{{.RepoLink}}/graph" class="ui basic small compact button">
|
2023-09-21 09:54:26 -06:00
|
|
|
{{svg "octicon-git-branch"}}
|
2023-09-25 02:56:50 -06:00
|
|
|
{{ctx.Locale.Tr "repo.commit_graph"}}
|
2017-10-25 18:49:16 -06:00
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{template "repo/commits_table" .}}
|
2015-12-07 15:30:52 -07:00
|
|
|
</div>
|
2014-03-17 04:58:34 -06:00
|
|
|
</div>
|
2015-08-20 06:18:49 -06:00
|
|
|
{{template "base/footer" .}}
|