aboutsummaryrefslogtreecommitdiffstats
path: root/view/profile_vcard.tpl
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-09-01 12:37:30 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2011-09-01 12:37:30 +0200
commit058e329dfbc2678fa7e3cb2ce130fb9ffd69b84d (patch)
tree202f678d70f7a1e5063d5d2477f3a4900148a216 /view/profile_vcard.tpl
parent8b615133d528eb074a23746afef6201f474a4e3f (diff)
downloadvolse-hubzilla-058e329dfbc2678fa7e3cb2ce130fb9ffd69b84d.tar.gz
volse-hubzilla-058e329dfbc2678fa7e3cb2ce130fb9ffd69b84d.tar.bz2
volse-hubzilla-058e329dfbc2678fa7e3cb2ce130fb9ffd69b84d.zip
Fix profile vcard and style
Diffstat (limited to 'view/profile_vcard.tpl')
-rw-r--r--view/profile_vcard.tpl31
1 files changed, 16 insertions, 15 deletions
diff --git a/view/profile_vcard.tpl b/view/profile_vcard.tpl
index 01238ed5a..88111b0f1 100644
--- a/view/profile_vcard.tpl
+++ b/view/profile_vcard.tpl
@@ -4,17 +4,11 @@
{{ 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>
- {{ if $connect }}
- <li><a id="dfrn-request-link" href="dfrn_request/$profile['nickname']">$connect</a></li>
- {{ endif }}
- </ul>
- </div>
+
{{ if $location }}
- <div class="location"><span class="location-label">$location</span>
- <div class="adr">
+ <dl class="location"><dt class="location-label">$location</dt>
+ <dd 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 }}
@@ -22,20 +16,27 @@
<span class="postal-code">$profile.postal-code</span>
</span>
{{ if $profile.country-name }}<span class="country-name">$profile.country-name</span>{{ endif }}
- </div>
-
+ </dd>
+ </dl>
{{ endif }}
- {{ if $gender }}<div class="mf"><span class="gender-label">$gender</span> <span class="x-gender">$profile.gender</span></div>{{ endif }}
+ {{ if $gender }}<dl class="mf"><dt class="gender-label">$gender</dt> <dd class="x-gender">$profile.gender</dd></dl>{{ endif }}
{{ if $profile.pubkey }}<div class="key" style="display:none;">$profile.pubkey</div>{{ endif }}
- {{ 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 }}
+ {{ if $marital }}<dl class="marital"><dt class="marital-label"><span class="heart">&hearts;</span>$marital</dt><dd class="marital-text">$profile.marital</dd></dl>{{ endif }}
- {{ 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 }}
+ {{ if $homepage }}<dl class="homepage"><dt class="homepage-label">$homepage</dt><dd class="homepage-url"><a href="$profile.homepage" target="external-link">$profile.homepage</a></dd></dl>{{ endif }}
{{ inc diaspora_vcard.tpl }}{{ endinc }}
-
+
+ <div id="profile-extra-links">
+ <ul>
+ {{ if $connect }}
+ <li><a id="dfrn-request-link" href="dfrn_request/$profile.nickname">$connect</a></li>
+ {{ endif }}
+ </ul>
+ </div>
</div>
$contact_block