1
0
mirror of https://github.com/go-gitea/gitea synced 2024-11-14 01:35:54 +01:00

Remove links from topics in edit mode (#5026)

This commit is contained in:
SagePtr 2018-10-06 23:20:48 +02:00 committed by techknowlogick
parent 378af8ea88
commit 6df46c50b1

@ -34,7 +34,7 @@
<div class="ui fluid multiple search selection dropdown"> <div class="ui fluid multiple search selection dropdown">
<input type="hidden" name="topics" value="{{range $i, $v := .Topics}}{{.Name}}{{if lt (Add $i 1) (len $.Topics)}},{{end}}{{end}}"> <input type="hidden" name="topics" value="{{range $i, $v := .Topics}}{{.Name}}{{if lt (Add $i 1) (len $.Topics)}},{{end}}{{end}}">
{{range .Topics}} {{range .Topics}}
<a class="ui green basic label topic transition visible" data-value="{{.Name}}" style="display: inline-block !important;" href="{{AppSubUrl}}/explore/repos?q={{.Name}}&topic=1">{{.Name}}<i class="delete icon"></i></a> <div class="ui green basic label topic transition visible" data-value="{{.Name}}" style="display: inline-block !important; cursor: default;">{{.Name}}<i class="delete icon"></i></div>
{{end}} {{end}}
<div class="text"></div> <div class="text"></div>
</div> </div>