File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 88
99 {{$branchDropdownCurrentRefType := "branch"}}
1010 {{$branchDropdownCurrentRefShortName := .RefName}}
11+ {{if and (not .IsViewBranch) (not .IsViewTag)}}
12+ {{$branchDropdownCurrentRefShortName = ShortSha .RefName}}
13+ {{end}}
1114 {{if .IsViewTag}}
1215 {{$branchDropdownCurrentRefType = "tag"}}
1316 {{$branchDropdownCurrentRefShortName = .TagName}}
Original file line number Diff line number Diff line change 2626 <div class="repo-button-row-left">
2727 {{$branchDropdownCurrentRefType := "branch"}}
2828 {{$branchDropdownCurrentRefShortName := .RefName}}
29+ {{if and (not .IsViewBranch) (not .IsViewTag)}}
30+ {{$branchDropdownCurrentRefShortName = ShortSha .RefName}}
31+ {{end}}
2932 {{if .IsViewTag}}
3033 {{$branchDropdownCurrentRefType = "tag"}}
3134 {{$branchDropdownCurrentRefShortName = .TagName}}
You can’t perform that action at this time.
0 commit comments