#554 fix issue

Merged
openihu merged 2 commits from fix-455 into V20211018 2 years ago
  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 }} {{if .Topics }}
<div class="ui tags"> <div class="ui tags">
{{range .Topics}} {{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}} {{end}}
</div> </div>
{{end}} {{end}}


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

@@ -58,7 +58,7 @@
{{if .Topics }} {{if .Topics }}
<div class="ui tags"> <div class="ui tags">
{{range .Topics}} {{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}} {{end}}
</div> </div>
{{end}} {{end}}


Loading…
Cancel
Save