]> source.dussan.org Git - gitea.git/commitdiff
Remove links from topics in edit mode (#5026)
authorSagePtr <sageptr@gmail.com>
Sat, 6 Oct 2018 21:20:48 +0000 (23:20 +0200)
committertechknowlogick <hello@techknowlogick.com>
Sat, 6 Oct 2018 21:20:48 +0000 (17:20 -0400)
templates/repo/home.tmpl

index 7e11035ed262824ffdc0a99e361373a4ca15c3e4..3e69506c0a05e633de650a80521cbbe2ccdfca07 100644 (file)
@@ -34,7 +34,7 @@
                                        <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}}">
                                                {{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}}
                                                <div class="text"></div>
                                        </div>