diff options
author | Lauris BH <lauris@nix.lv> | 2020-02-09 23:00:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-09 21:00:24 +0000 |
commit | 80eb50655a33dd7945ae2cbabf255c4138335dcf (patch) | |
tree | ae5758db00ba3fabbd9e7387abd5c5a6e5ca3046 /templates/repo | |
parent | b16c5555417191492b5533a4a7e68b7abb9e590c (diff) | |
download | gitea-80eb50655a33dd7945ae2cbabf255c4138335dcf.tar.gz gitea-80eb50655a33dd7945ae2cbabf255c4138335dcf.zip |
Fix followers and following tabs in profile (#10202) (#10203)
Diffstat (limited to 'templates/repo')
-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"> |