]> source.dussan.org Git - gitea.git/commitdiff
fix(topics): don't redirect to expole page. (#4938)
authorBo-Yi Wu <appleboy.tw@gmail.com>
Sat, 15 Sep 2018 10:32:59 +0000 (18:32 +0800)
committertechknowlogick <techknowlogick@users.noreply.github.com>
Sat, 15 Sep 2018 10:32:59 +0000 (06:32 -0400)
templates/repo/home.tmpl

index d5a1416cf6ec9daae19100b09784294ecbf522bb..ce760ffae22acbe2c18447c8a81204f89f46de9c 100644 (file)
@@ -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" >