aboutsummaryrefslogtreecommitdiffstats
path: root/view/profile_tabs.tpl
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-06-23 11:30:17 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2011-06-23 11:30:17 +0200
commit5de7d0f12f279aed4551d261d8f71325ca01028a (patch)
tree41af3d6ef5a8bc465f3718fd01aaa2b88ae9b2a2 /view/profile_tabs.tpl
parentaa4636d03a03718c5c5e58c17af40ee0104be2b6 (diff)
downloadvolse-hubzilla-5de7d0f12f279aed4551d261d8f71325ca01028a.tar.gz
volse-hubzilla-5de7d0f12f279aed4551d261d8f71325ca01028a.tar.bz2
volse-hubzilla-5de7d0f12f279aed4551d261d8f71325ca01028a.zip
add profile tabs to "photos", "events" and "notes". in dispy, show active tab.
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>