summaryrefslogtreecommitdiffstats
path: root/templates/repo
diff options
context:
space:
mode:
authorSagePtr <sageptr@gmail.com>2018-10-06 23:20:48 +0200
committertechknowlogick <hello@techknowlogick.com>2018-10-06 17:20:48 -0400
commit6df46c50b113c3603a8e0f6cd1d087067aa6eece (patch)
treeea7e40b58a2540f261ff4b1e781b2baca67f3f81 /templates/repo
parent378af8ea889066e12defcd7f291ac2b6ab7e2abb (diff)
downloadgitea-6df46c50b113c3603a8e0f6cd1d087067aa6eece.tar.gz
gitea-6df46c50b113c3603a8e0f6cd1d087067aa6eece.zip
Remove links from topics in edit mode (#5026)
Diffstat (limited to 'templates/repo')
-rw-r--r--templates/repo/home.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl
index 7e11035ed2..3e69506c0a 100644
--- a/templates/repo/home.tmpl
+++ b/templates/repo/home.tmpl
@@ -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>