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 56
56
{{end}}
57
57
{{if $.CommitsTagsMap}}
58
58
{{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) -}}
60
60
{{end}}
61
61
{{end}}
62
62
</td>
Original file line number Diff line number Diff line change 25
25
</a>
26
26
{{end}}
27
27
{{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 -}}
29
29
{{else if eq $refGroup "remotes"}}
30
30
<a class="ui basic tiny button" href="{{$.RepoLink}}/src/commit/{{$commit.Rev|PathEscape}}">
31
31
{{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}}">
2
2
{{svg "octicon-tag"}} {{.TagName}}
3
3
</a>
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export function initRepoGraphGit() {
17
17
18
18
const params = new URLSearchParams ( window . location . search ) ;
19
19
params . set ( 'mode' , mode ) ;
20
- window . history . replaceState ( { } , '' , `?${ params . toString ( ) } ` ) ;
20
+ window . history . replaceState ( null , '' , `?${ params . toString ( ) } ` ) ;
21
21
for ( const link of document . querySelectorAll ( '#pagination .pagination a' ) ) {
22
22
const href = link . getAttribute ( 'href' ) ;
23
23
if ( ! href ) continue ;
You can’t perform that action at this time.
0 commit comments