Normalize vcard across themes display after profile fields reorganization
This commit is contained in:
parent
e24e24688f
commit
49b71546ec
4 changed files with 8 additions and 10 deletions
|
@ -1,12 +1,10 @@
|
|||
|
||||
<div class="vcard h-card">
|
||||
|
||||
<div class="fn label p-name">{{$profile.name}}</div>
|
||||
<div class="fn p-name">{{$profile.name}}</div>
|
||||
|
||||
{{if $profile.addr}}<div class="p-addr">{{$profile.addr}}</div>{{/if}}
|
||||
|
||||
{{if $profile.about}}<div class="title">{{$profile.about nofilter}}</div>{{/if}}
|
||||
|
||||
{{if $profile.picdate}}
|
||||
<div id="profile-photo-wrapper"><a href="{{$profile.url}}"><img class="photo u-photo" width="175" height="175" src="{{$profile.photo}}?rev={{$profile.picdate}}" alt="{{$profile.name}}"></a></div>
|
||||
{{else}}
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
<div class="vcard h-card">
|
||||
|
||||
<div class="fn label p-name">{{$profile.name}}</div>
|
||||
<div class="fn p-name">{{$profile.name}}</div>
|
||||
|
||||
{{if $profile.addr}}<div class="p-addr">{{$profile.addr}}</div>{{/if}}
|
||||
|
||||
{{if $profile.about}}<div class="title">{{$profile.about nofilter}}</div>{{/if}}
|
||||
<div id="profile-photo-wrapper"><img class="photo u-photo" width="175" height="175" src="{{$profile.photo}}?rev={{$profile.picdate}}" alt="{{$profile.name}}"></div>
|
||||
|
||||
{{if $account_type}}<div class="account-type">{{$account_type}}</div>{{/if}}
|
||||
|
@ -26,6 +25,8 @@
|
|||
</dl>
|
||||
{{/if}}
|
||||
|
||||
{{if $profile.about}}<div class="title">{{$profile.about nofilter}}</div>{{/if}}
|
||||
|
||||
{{if $profile.pubkey}}<div class="key" style="display:none;">{{$profile.pubkey}}</div>{{/if}}
|
||||
|
||||
{{if $homepage}}<dl class="homepage"><dt class="homepage-label">{{$homepage}}</dt><dd class="homepage-url"><a href="{{$profile.homepage}}" class="u-url" rel="me" target="external-link">{{$profile.homepage}}</a></dd></dl>{{/if}}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<div class="vcard h-card">
|
||||
|
||||
<div class="tool">
|
||||
<div class="fn label p-name">{{$profile.name}}</div>
|
||||
<div class="fn p-name">{{$profile.name}}</div>
|
||||
{{if $profile.edit}}
|
||||
<div class="action">
|
||||
<a class="icon s16 edit ttright" href="#" rel="#profiles-menu" title="{{$profile.edit.3}}"><span>{{$profile.edit.1}}</span></a>
|
||||
|
@ -17,7 +17,6 @@
|
|||
|
||||
{{if $profile.addr}}<div class="p-addr">{{$profile.addr}}</div>{{/if}}
|
||||
|
||||
{{if $about}}<div class="title">{{$profile.about nofilter}}</div>{{/if}}
|
||||
<div id="profile-photo-wrapper"><img class="photo u-photo" width="175" height="175" src="{{$profile.photo}}?rev={{$profile.picdate}}" alt="{{$profile.name}}" /></div>
|
||||
|
||||
{{if $account_type}}<div class="account-type">{{$account_type}}</div>{{/if}}
|
||||
|
@ -38,6 +37,8 @@
|
|||
</dl>
|
||||
{{/if}}
|
||||
|
||||
{{if $about}}<div class="title">{{$profile.about nofilter}}</div>{{/if}}
|
||||
|
||||
{{if $profile.xmpp}}
|
||||
<dl class="xmpp">
|
||||
<dt class="xmpp-label">{{$xmpp}}</dt>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<div class="vcard h-card">
|
||||
|
||||
<div class="tool">
|
||||
<div class="fn label p-name">{{$profile.name}}</div>
|
||||
<div class="fn p-name">{{$profile.name}}</div>
|
||||
{{if $profile.edit}}
|
||||
<div class="action">
|
||||
<a class="icon s16 edit ttright" href="{{$profile.edit.0}}" title="{{$profile.edit.3}}"><span>{{$profile.edit.1}}</span></a>
|
||||
|
@ -11,8 +11,6 @@
|
|||
|
||||
{{if $profile.addr}}<div class="p-addr">{{$profile.addr}}</div>{{/if}}
|
||||
|
||||
{{if $profile.about}}<div class="title">{{$profile.about nofilter}}</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}}
|
||||
|
|
Loading…
Reference in a new issue