Browse Source

Merge pull request #6589 from rabuzarus/20190204_-_show_forum_account_in_vcard

frio: add account type to the profile vcard
pull/6590/head
Hypolite Petovan 3 years ago
committed by GitHub
parent
commit
cf9a65cded
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      view/theme/frio/css/style.css
  2. 2
      view/theme/frio/templates/profile_vcard.tpl
  3. 4
      view/theme/frio/templates/vcard-widget.tpl

5
view/theme/frio/css/style.css

@ -1135,7 +1135,9 @@ aside .vcard .p-addr {
white-space: nowrap;
padding-bottom: 2px;
}
aside .vcard .title {
margin-top: 10px;
}
aside .vcard .detail {
display: table;
padding: 5px 0;
@ -1150,6 +1152,7 @@ aside .vcard .icon {
}
#profile-extra-links {
overflow: auto;
margin-bottom: 10px;
}
aside .vcard #dfrn-request-link-button,
aside .vcard #wallmessage-link-botton {

2
view/theme/frio/templates/profile_vcard.tpl

@ -42,6 +42,8 @@
{{if $profile.addr}}<div class="p-addr">{{$profile.addr}}</div>{{/if}}
{{if $profile.pdesc}}<div class="title">{{$profile.pdesc}}</div>{{/if}}
{{if $account_type}}<div class="account-type">({{$account_type}})</div>{{/if}}
</div>
<div id="profile-extra-links">

4
view/theme/frio/templates/vcard-widget.tpl

@ -28,9 +28,9 @@
{{if $addr}}<div class="p-addr">{{$addr}}</div>{{/if}}
{{if $pdesc}}<div class="title">{{$pdesc}}</div>{{/if}}
{{if $account_type}}<div class="account-type">({{$account_type}})</div>{{/if}}
{{if $account_type}}<div class="account-type">{{$account_type}}</div>{{/if}}
{{if $pdesc}}<div class="title">{{$pdesc}}</div>{{/if}}
{{if $network_link}}<dl class="network"><dt class="network-label">{{$network}}</dt><dd class="x-network">{{$network_link nofilter}}</dd></dl>{{/if}}
</div>

Loading…
Cancel
Save