Browse Source

Merge pull request 'fix issue' (#554) from fix-455 into V20211018

Reviewed-on: https://git.openi.org.cn/OpenI/aiforge/pulls/554
tags/v1.21.12.1
A00老虎 4 years ago
parent
commit
2df591304d
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      templates/explore/repo_list.tmpl
  2. +1
    -1
      templates/org/repo_list.tmpl

+ 1
- 1
templates/explore/repo_list.tmpl View File

@@ -143,7 +143,7 @@
{{if .Topics }}
<div class="ui tags">
{{range .Topics}}
{{if ne . "" }}<a href="{{AppSubUrl}}/explore/repos?q=&topic={{.}}"><div class="ui small label topic">{{.}}</div></a>{{end}}
{{if ne . "" }}<a href="{{AppSubUrl}}/explore/repos?q={{.}}&topic={{$.Topic}}"><div class="ui small label topic">{{.}}</div></a>{{end}}
{{end}}
</div>
{{end}}


+ 1
- 1
templates/org/repo_list.tmpl View File

@@ -58,7 +58,7 @@
{{if .Topics }}
<div class="ui tags">
{{range .Topics}}
{{if ne . "" }}<a href="{{AppSubUrl}}/explore/repos?q={{.}}&topic=1"><div class="ui small label topic">{{.}}</div></a>{{end}}
{{if ne . "" }}<a href="{{AppSubUrl}}/explore/repos?q={{.}}&topic={{$.Topic}}"><div class="ui small label topic">{{.}}</div></a>{{end}}
{{end}}
</div>
{{end}}


Loading…
Cancel
Save