aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Willingham <beardyunixer@beardyunixer.com>2014-09-02 02:37:23 +0100
committerThomas Willingham <beardyunixer@beardyunixer.com>2014-09-02 02:37:23 +0100
commit6d7897a955319d7d83a558258936528d70501a89 (patch)
tree62acad999528a9dfe6152d4924ba24ed5e804f85
parentab031664facfb640a8a6589fb9abe018549ad173 (diff)
downloadvolse-hubzilla-6d7897a955319d7d83a558258936528d70501a89.tar.gz
volse-hubzilla-6d7897a955319d7d83a558258936528d70501a89.tar.bz2
volse-hubzilla-6d7897a955319d7d83a558258936528d70501a89.zip
Don't forget the ifs. Now we just need to write some blurb, find some
images, add a link, and decide what to do with non-earned badges...basically all of it.
-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>