aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--view/tpl/achievements.tpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/view/tpl/achievements.tpl b/view/tpl/achievements.tpl
index 67fde6211..2b80b9e80 100644
--- a/view/tpl/achievements.tpl
+++ b/view/tpl/achievements.tpl
@@ -1,9 +1,9 @@
<div class="generic-content-wrapper">
<p>{{$newmembertext}}</p>
-<div id="profile-badge" class="badges"><img src="images/smiley-thumbsup.gif"></div>
-<div id="contact-badge" class="badges"><img src="images/smiley-thumbsup.gif"></div>
-<div id="keywords-badge" class="badges"><img src="images/smiley-thumbsup.gif"></div>
-<div id="channels-badge" class="badges"><img src="images/smiley-thumbsup.gif"></div>
+{{if $profilebadge}}<div id="profile-badge" class="badges"><img src="images/smiley-thumbsup.gif"></div>{{/if}}
+{{if $contactbadge}}<div id="contact-badge" class="badges"><img src="images/smiley-thumbsup.gif"></div>{{/if}}
+{{if $keywordsbadge}}<div id="keywords-badge" class="badges"><img src="images/smiley-thumbsup.gif"></div>{{/if}}
+{{if $channelsbadge}}<div id="channels-badge" class="badges"><img src="images/smiley-thumbsup.gif"></div>{{/if}}
</div>