summaryrefslogtreecommitdiffstats
path: root/templates/repo/home.tmpl
diff options
context:
space:
mode:
authorBo-Yi Wu <appleboy.tw@gmail.com>2018-09-15 18:32:59 +0800
committertechknowlogick <techknowlogick@users.noreply.github.com>2018-09-15 06:32:59 -0400
commitf6eb669b519f8a1a323ca7ae668cde3b6e257bf0 (patch)
tree4cb42979ad76de6282fae6985f9e0eedaace7f46 /templates/repo/home.tmpl
parent3e76e7826e060864ab92aff9b0bd06f5252c7263 (diff)
downloadgitea-f6eb669b519f8a1a323ca7ae668cde3b6e257bf0.tar.gz
gitea-f6eb669b519f8a1a323ca7ae668cde3b6e257bf0.zip
fix(topics): don't redirect to expole page. (#4938)
Diffstat (limited to 'templates/repo/home.tmpl')
-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 d5a1416cf6..ce760ffae2 100644
--- a/templates/repo/home.tmpl
+++ b/templates/repo/home.tmpl
@@ -25,7 +25,7 @@
</div>
<div class="ui repo-topic" id="repo-topic">
{{range .Topics}}<a class="ui green basic label topic" style="cursor:pointer;" href="/explore/repos?q={{.Name}}&topic=1">{{.Name}}</a>{{end}}
- {{if .IsRepositoryAdmin}}<a id="manage_topic" style="cursor:pointer;margin-left:10px;" href="/explore/repos?q={{.Name}}&topic=1">{{.i18n.Tr "repo.topic.manage_topics"}}</a>{{end}}
+ {{if .IsRepositoryAdmin}}<a id="manage_topic" style="cursor:pointer;margin-left:10px;">{{.i18n.Tr "repo.topic.manage_topics"}}</a>{{end}}
</div>
{{if .IsRepositoryAdmin}}
<div class="ui repo-topic-edit grid form segment error" id="topic_edit" >