Skip to content

Commit

Permalink
https://github.com/NodeBB/NodeBB/issues/6433
Browse files Browse the repository at this point in the history
show multiple badges on profile page as well
  • Loading branch information
barisusakli committed Apr 26, 2018
1 parent b105019 commit 0a38e6a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions templates/account/profile.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,16 @@
<!-- ENDIF banned -->
<!-- ENDIF isAdminOrGlobalModeratorOrModerator -->

<!-- IF selectedGroup.slug -->
<!-- IF selectedGroup.length -->
<div class="text-center">
<!-- BEGIN selectedGroup -->
<!-- IF selectedGroup.slug -->
<a href="{config.relative_path}/groups/{selectedGroup.slug}"><small class="label group-label inline-block" style="background-color: {selectedGroup.labelColor};"><!-- IF selectedGroup.icon --><i class="fa {selectedGroup.icon}"></i> <!-- ENDIF selectedGroup.icon -->{selectedGroup.userTitle}</small></a>
<!-- ENDIF selectedGroup.slug -->
<!-- END selectedGroup -->
</div>
<br/>
<!-- ENDIF selectedGroup.slug -->
<!-- ENDIF selectedGroup.length -->

<!-- IF aboutme -->
<span component="aboutme" class="text-center aboutme">{aboutme}</span>
Expand Down

0 comments on commit 0a38e6a

Please sign in to comment.