Merge pull request #2131 from rabuzarus/3011_hcard_vcard

unify hcard and vcard
This commit is contained in:
Michael Vogel 2015-12-03 14:16:52 +01:00
commit 1f9644bded
23 changed files with 238 additions and 154 deletions

View file

@ -1000,11 +1000,17 @@ aside .vcard .fn {
}
aside .vcard .title {
margin-bottom: 5px;
float: left;
}
aside .vcard dl {
height: auto;
overflow: auto;
}
aside .vcard .account-type {
margin-bottom: 13px;
font-size: 14px;
font-weight: bold;
}
aside select {
background-color: white;

View file

@ -13,16 +13,17 @@
{{/if}}
</div>
{{if $profile.faddr}}<div class="p-faddr">{{$profile.faddr}}</div>{{/if}}
{{if $profile.addr}}<div class="p-addr">{{$profile.addr}}</div>{{/if}}
{{if $pdesc}}<div class="title">{{$profile.pdesc}}</div>{{/if}}
{{if $profile.pdesc}}<div class="title">{{$profile.pdesc}}</div>{{/if}}
{{if $profile.picdate}}
<div id="profile-photo-wrapper"><a href="{{$profile.url}}"><img class="photo u-photo" src="{{$profile.photo}}?rev={{$profile.picdate}}" alt="{{$profile.name}}"></a></div>
{{else}}
<div id="profile-photo-wrapper"><a href="{{$profile.url}}"><img class="photo u-photo" src="{{$profile.photo}}" alt="{{$profile.name}}"></a></div>
{{/if}}
{{if $account_type}}<div class="account-type">{{$account_type}}</div>{{/if}}
{{if $profile.network_name}}<dl class="network"><dt class="network-label">{{$network}}</dt><dd class="x-network">{{$profile.network_name}}</dd></dl>{{/if}}
{{if $location}}
<dl class="location"><dt class="location-label">{{$location}}</dt>