aboutsummaryrefslogtreecommitdiffstats
path: root/view/profile_tabs.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/profile_tabs.tpl')
-rw-r--r--view/profile_tabs.tpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/view/profile_tabs.tpl b/view/profile_tabs.tpl
index 3628ff5ff..7820013b6 100644
--- a/view/profile_tabs.tpl
+++ b/view/profile_tabs.tpl
@@ -3,7 +3,7 @@
<a href="$url" id="profile-tab-status-link" class="profile-tabs" >$status</a>
<a href="$url?tab=profile" id="profile-tab-profile-link" class="profile-tabs" >$profile</a>
<a href="$phototab" id="profile-tab-photos-link" class="profile-tabs" >$photos</a>
- $events
- $notes
+ {{ if $events }}<a href="events" id="profile-tab-events-link" class="profile-tabs" >$events</a>{{ endif }}
+ {{ if $notes }}<a href="notes" id="profile-tab-notes-link" class="profile-tabs" >$notes</a>{{ endif }}
<div id="profile-tabs-end"></div>
-</div> \ No newline at end of file
+</div>