summaryrefslogtreecommitdiffstats
path: root/templates/repo/user_cards.tmpl
diff options
context:
space:
mode:
authorLauris BH <lauris@nix.lv>2020-02-09 22:18:01 +0200
committerGitHub <noreply@github.com>2020-02-09 22:18:01 +0200
commitfe00886befebca6e532dfc49813c3273c4bfff68 (patch)
treef7549d49a131409e502e59bf4e522706f48b8f96 /templates/repo/user_cards.tmpl
parente273817154e98b7b675e43e97cd17f48a603cf9e (diff)
downloadgitea-fe00886befebca6e532dfc49813c3273c4bfff68.tar.gz
gitea-fe00886befebca6e532dfc49813c3273c4bfff68.zip
Fix followers and following tabs in profile (#10202)
Diffstat (limited to 'templates/repo/user_cards.tmpl')
-rw-r--r--templates/repo/user_cards.tmpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/repo/user_cards.tmpl b/templates/repo/user_cards.tmpl
index 3677bab635..cd7f15a710 100644
--- a/templates/repo/user_cards.tmpl
+++ b/templates/repo/user_cards.tmpl
@@ -1,7 +1,9 @@
<div class="ui container user-cards">
+ {{if .CardsTitle}}
<h2 class="ui dividing header">
{{.CardsTitle}}
</h2>
+ {{end}}
<ul class="list">
{{range .Cards}}
<li class="item ui segment">