File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 5656 {{end}}
5757 {{if $.CommitsTagsMap}}
5858 {{range (index $.CommitsTagsMap .ID.String)}}
59- {{- template "repo/tag/name" dict "ExtraClass " "tw-py-0" "RepoLink" $.Repository.Link "TagName" .TagName "IsRelease" (not .IsTag) -}}
59+ {{- template "repo/tag/name" dict "AdditionalClasses " "tw-py-0" "RepoLink" $.Repository.Link "TagName" .TagName "IsRelease" (not .IsTag) -}}
6060 {{end}}
6161 {{end}}
6262 </td>
Original file line number Diff line number Diff line change 2525 </a>
2626 {{end}}
2727 {{else if eq $refGroup "tags"}}
28- {{- template "repo/tag/name" dict "ExtraClass " "tag-label" "RepoLink" $.Repository.Link "TagName" .ShortName -}}
28+ {{- template "repo/tag/name" dict "AdditionalClasses " "tag-label" "RepoLink" $.Repository.Link "TagName" .ShortName -}}
2929 {{else if eq $refGroup "remotes"}}
3030 <a class="ui basic tiny button" href="{{$.RepoLink}}/src/commit/{{$commit.Rev|PathEscape}}">
3131 {{svg "octicon-cross-reference"}} {{.ShortName}}
Original file line number Diff line number Diff line change 1- <a class="ui basic label {{if .IsRelease}}primary{{end}} {{.ExtraClass }}" href="{{.RepoLink}}/src/tag/{{.TagName|PathEscape}}">
1+ <a class="ui basic label {{if .IsRelease}}primary{{end}} {{.AdditionalClasses }}" href="{{.RepoLink}}/src/tag/{{.TagName|PathEscape}}">
22{{svg "octicon-tag"}} {{.TagName}}
33</a>
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export function initRepoGraphGit() {
1717
1818 const params = new URLSearchParams ( window . location . search ) ;
1919 params . set ( 'mode' , mode ) ;
20- window . history . replaceState ( { } , '' , `?${ params . toString ( ) } ` ) ;
20+ window . history . replaceState ( null , '' , `?${ params . toString ( ) } ` ) ;
2121 for ( const link of document . querySelectorAll ( '#pagination .pagination a' ) ) {
2222 const href = link . getAttribute ( 'href' ) ;
2323 if ( ! href ) continue ;
You can’t perform that action at this time.
0 commit comments