aboutsummaryrefslogtreecommitdiffstats
path: root/view/profile_vcard.tpl
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-08-31 17:31:44 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2011-08-31 17:31:44 +0200
commit8b615133d528eb074a23746afef6201f474a4e3f (patch)
tree1e42e60dcc683ac6a08333e1001759aa0d0e0fcc /view/profile_vcard.tpl
parent54f0685a038d87706ec4ecc15edc55ee171b6079 (diff)
downloadvolse-hubzilla-8b615133d528eb074a23746afef6201f474a4e3f.tar.gz
volse-hubzilla-8b615133d528eb074a23746afef6201f474a4e3f.tar.bz2
volse-hubzilla-8b615133d528eb074a23746afef6201f474a4e3f.zip
remove html from profile vcard code
Diffstat (limited to 'view/profile_vcard.tpl')
-rw-r--r--view/profile_vcard.tpl40
1 files changed, 27 insertions, 13 deletions
diff --git a/view/profile_vcard.tpl b/view/profile_vcard.tpl
index 34f265ee6..01238ed5a 100644
--- a/view/profile_vcard.tpl
+++ b/view/profile_vcard.tpl
@@ -1,29 +1,43 @@
<div class="vcard">
- $fullname
- $pdesc
- $tabs
-
- $photo
+ <div class="fn">$profile.name</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"></div>
<div id="profile-extra-links">
<ul>
- $connect
+ {{ if $connect }}
+ <li><a id="dfrn-request-link" href="dfrn_request/$profile['nickname']">$connect</a></li>
+ {{ endif }}
</ul>
</div>
- $location
+ {{ if $location }}
+ <div class="location"><span class="location-label">$location</span>
+ <div class="adr">
+ {{ if $profile.address }}<div class="street-address">$profile.address</div>{{ endif }}
+ <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>
+
+ {{ endif }}
- $gender
+ {{ if $gender }}<div class="mf"><span class="gender-label">$gender</span> <span class="x-gender">$profile.gender</span></div>{{ endif }}
+
+ {{ if $profile.pubkey }}<div class="key" style="display:none;">$profile.pubkey</div>{{ endif }}
- $pubkey
+ {{ if $marital }}<div class="marital"><span class="marital-label"><span class="heart">&hearts;</span>$marital</span><span class="marital-text">$profile.marital</span></div>{{ endif }}
-$diaspora
+ {{ if $homepage }}<div class="homepage"><span class="homepage-label">$homepage</span><span class="homepage-url"><a href="$profile.homepage" target="external-link">$profile.homepage</a></span></div>{{ endif }}
-</div>
+ {{ inc diaspora_vcard.tpl }}{{ endinc }}
-$marital
+</div>
-$homepage
+$contact_block