Skip to content

Commit

Permalink
Display number of gildings even when user has no gold
Browse files Browse the repository at this point in the history
  • Loading branch information
MelissaCole committed May 14, 2015
1 parent dad43b9 commit 7576286
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions r2/r2/templates/profilebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ <h1>${thing.user.name}</h1>
%endif
%endif

%if thing.show_users_gold_expiration and (thing.user.gold or thing.user.gold_creddits > 0):
%if thing.show_users_gold_expiration and (thing.user.gold or thing.user.gold_creddits > 0 or thing.user.num_gildings > 0):
<div class="rounded gold-accent gold-expiration-info">
%if hasattr(thing, "gold_remaining"):
<div class="gold-remaining" title="${thing.user.gold_expiration.strftime('%Y-%m-%d')}">
Expand Down Expand Up @@ -142,7 +142,6 @@ <h1>${thing.user.name}</h1>
%endif
%if hasattr(thing, "num_gildings_message"):
<div>
<br>
${thing.num_gildings_message}
</div>
%endif
Expand Down

0 comments on commit 7576286

Please sign in to comment.