aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/profile_vcard.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-12-05 21:40:30 -0800
committerfriendica <info@friendica.com>2012-12-05 21:40:30 -0800
commit68c49322b7d56ea771c7168df69d1159b78508a7 (patch)
tree72c4bc1fd13cf55563e10c65a114934eb9261f2b /view/tpl/profile_vcard.tpl
parentd5800c61dc85971bebd01e751f463d76552e3fe9 (diff)
downloadvolse-hubzilla-68c49322b7d56ea771c7168df69d1159b78508a7.tar.gz
volse-hubzilla-68c49322b7d56ea771c7168df69d1159b78508a7.tar.bz2
volse-hubzilla-68c49322b7d56ea771c7168df69d1159b78508a7.zip
bring back profile edit popup menu, needs some more theming
Diffstat (limited to 'view/tpl/profile_vcard.tpl')
-rw-r--r--view/tpl/profile_vcard.tpl16
1 files changed, 16 insertions, 0 deletions
diff --git a/view/tpl/profile_vcard.tpl b/view/tpl/profile_vcard.tpl
index 1d0c433e9..216f9665a 100644
--- a/view/tpl/profile_vcard.tpl
+++ b/view/tpl/profile_vcard.tpl
@@ -1,5 +1,21 @@
<div class="vcard">
+ {{ if $profile.edit }}
+ <div class="action">
+ <a class="profile-edit-side-link icon edit" rel="#profiles-menu" title="$profile.edit.3" href="#" ><span>$profile.edit.1</span></a>
+ <ul id="profiles-menu" class="menu-popup">
+ {{ for $profile.menu.entries as $e }}
+ <li>
+ <a href="profiles/$e.id"><img src='$e.photo'>$e.profile_name</a>
+ </li>
+ {{ endfor }}
+ <li><a href="profile_photo" >$profile.menu.chg_photo</a></li>
+ <li><a href="profiles/new" id="profile-listing-new-link">$profile.menu.cr_new</a></li>
+
+ </ul>
+ </div>
+ {{ endif }}
+
<div class="fn label">$profile.name</div>