diff options
author | Lauris BH <lauris@nix.lv> | 2020-02-09 22:18:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-09 22:18:01 +0200 |
commit | fe00886befebca6e532dfc49813c3273c4bfff68 (patch) | |
tree | f7549d49a131409e502e59bf4e522706f48b8f96 /templates/repo/user_cards.tmpl | |
parent | e273817154e98b7b675e43e97cd17f48a603cf9e (diff) | |
download | gitea-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.tmpl | 2 |
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"> |