diff options
author | Michael Vogel <icarus@dabo.de> | 2012-03-15 21:11:58 +0100 |
---|---|---|
committer | Michael Vogel <icarus@dabo.de> | 2012-03-15 21:11:58 +0100 |
commit | 9243c9fc141237453f05d215058d4b975d010437 (patch) | |
tree | 0c63dd28deeb2157ee2683e787f00a4e8b5eaa7b /view/theme/dispy-dark/profile_vcard.tpl | |
parent | 6e7a190e9197bcf4d00accc5d85ccca4a080bec8 (diff) | |
parent | ab89aa90caced4f60fc0ae944c7190e156a872e2 (diff) | |
download | volse-hubzilla-9243c9fc141237453f05d215058d4b975d010437.tar.gz volse-hubzilla-9243c9fc141237453f05d215058d4b975d010437.tar.bz2 volse-hubzilla-9243c9fc141237453f05d215058d4b975d010437.zip |
Merge commit 'upstream/master'
Diffstat (limited to 'view/theme/dispy-dark/profile_vcard.tpl')
-rw-r--r-- | view/theme/dispy-dark/profile_vcard.tpl | 31 |
1 files changed, 25 insertions, 6 deletions
diff --git a/view/theme/dispy-dark/profile_vcard.tpl b/view/theme/dispy-dark/profile_vcard.tpl index 0c289d982..6228e4f28 100644 --- a/view/theme/dispy-dark/profile_vcard.tpl +++ b/view/theme/dispy-dark/profile_vcard.tpl @@ -1,12 +1,30 @@ <div class="vcard"> <div class="fn label">$profile.name</div> - + + {{ if $profile.edit }} + <div class="action"> + <span class="icon-profile-edit"></span> + <a href="#" rel="#profiles-menu" class="ttright" id="profiles-menu-trigger" title="$profile.edit.3">$profile.edit.1</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> + {{ if $pdesc }} <div class="title">$profile.pdesc</div> {{ endif }} <div id="profile-photo-wrapper"> - <img class="photo" width="175" height="175" src="$profile.photo" alt="$profile.name" /> + <img class="photo" width="175" height="175" src="$profile.photo?rev=$profile.picdate" alt="$profile.name" /> </div> {{ if $location }} @@ -15,10 +33,11 @@ <div class="adr"> {{ if $profile.address }} <div class="street-address">$profile.address</div>{{ endif }} - <span class="city-state-zip">$profile.zip</span> - <span class="locality">$profile.locality</span>{{ if $profile.locality }}, {{ endif }} - <span class="region">$profile.region</span> - <span class="postal-code">$profile.postal-code</span> + <span class="city-state-zip"> + <span class="locality">$profile.locality</span>{{ if $profile.locality }}, {{ endif }} + <span class="region">$profile.region</span> + <span class="postal-code">$profile.postal-code</span> + </span> {{ if $profile.country-name }}<span class="country-name">$profile.country-name</span>{{ endif }} </div> </div> |