1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-10 03:28:20 +00:00
wxiaoguang
2023-05-31 18:44:28 +08:00
committed by GitHub
parent a90988d63f
commit 48bfea6705
3 changed files with 9 additions and 15 deletions

View File

@@ -12,7 +12,7 @@
<div class="ui divider"></div>
{{range .Repos}}
{{with $Repo := .}}
<a class="{{range $.RepoIDs}}{{if eq . $Repo.ID}}ui basic primary button{{end}}{{end}} repo name item" href="{{$.Link}}?repos=[
<a class="{{range $.RepoIDs}}{{if eq . $Repo.ID}}active{{end}}{{end}} repo name item" href="{{$.Link}}?repos=[
{{- with $include := true -}}
{{- range $.RepoIDs -}}
{{- if eq . $Repo.ID -}}