Browse Source

fix(topics): don't redirect to expole page. (#4938)

for-closed-social
Bo-Yi Wu 6 years ago
committed by techknowlogick
parent
commit
f6eb669b51
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      templates/repo/home.tmpl

+ 1
- 1
templates/repo/home.tmpl View File

@ -25,7 +25,7 @@
</div> </div>
<div class="ui repo-topic" id="repo-topic"> <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}} {{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> </div>
{{if .IsRepositoryAdmin}} {{if .IsRepositoryAdmin}}
<div class="ui repo-topic-edit grid form segment error" id="topic_edit" > <div class="ui repo-topic-edit grid form segment error" id="topic_edit" >

Loading…
Cancel
Save