summaryrefslogtreecommitdiffstats
path: root/templates/repo
diff options
context:
space:
mode:
authorSagePtr <sageptr@gmail.com>2018-10-05 19:22:33 +0200
committerLauris BH <lauris@nix.lv>2018-10-05 20:22:33 +0300
commitc6daee6da6a095bd68e2f4e418e5abe0f4c5e3c2 (patch)
treeed337e8e91c0ec77018efd2fcb1f2cab35a59b40 /templates/repo
parent94cd7bb25b8f142d2865aaf740ae19cd98ca6927 (diff)
downloadgitea-c6daee6da6a095bd68e2f4e418e5abe0f4c5e3c2.tar.gz
gitea-c6daee6da6a095bd68e2f4e418e5abe0f4c5e3c2.zip
Fix missing AppSubUrl in some templates (#5020)
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 8c81ae29ea..cc2d65e763 100644
--- a/templates/repo/home.tmpl
+++ b/templates/repo/home.tmpl
@@ -24,7 +24,7 @@
{{end}}
</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}}
+ {{range .Topics}}<a class="ui green basic label topic" style="cursor:pointer;" href="{{AppSubUrl}}/explore/repos?q={{.Name}}&topic=1">{{.Name}}</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}}