Matrix addresses can be entered in the profile
This commit is contained in:
parent
bfbfd94f2e
commit
bee04f86ee
28 changed files with 375 additions and 256 deletions
|
@ -96,6 +96,14 @@
|
|||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{if $matrix}}
|
||||
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
|
||||
<hr class="profile-separator">
|
||||
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 text-muted">{{$matrix_label}}</div>
|
||||
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-12">{{$matrix}}</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{if $keywords}}
|
||||
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
|
||||
<hr class="profile-separator">
|
||||
|
|
|
@ -88,11 +88,18 @@
|
|||
|
||||
{{if $profile.xmpp}}
|
||||
<div class="xmpp">
|
||||
<span class="xmpp-label icon"><i class="fa fa-comments"></i></span>
|
||||
<span class="xmpp-label icon"><i class="fa fa-xmpp"></i></span>
|
||||
<span class="xmpp-data"><a href="xmpp:{{$profile.xmpp}}" rel="me" target="_blank" rel="noopener noreferrer">{{include file="sub/punct_wrap.tpl" text=$profile.xmpp}}</a></span>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{if $profile.matrix}}
|
||||
<div class="matrix">
|
||||
<span class="matrix-label icon"><i class="fa fa-matrix-org"></i></span>
|
||||
<span class="matrix-data"><a href="matrix:{{$profile.matrix}}" rel="me" target="_blank" rel="noopener noreferrer">{{include file="sub/punct_wrap.tpl" text=$profile.matrix}}</a></span>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{if $profile.upubkey}}<div class="key u-key" style="display:none;">{{$profile.upubkey}}</div>{{/if}}
|
||||
|
||||
{{if $contacts}}<div class="contacts" style="display:none;">{{$contacts}}</div>{{/if}}
|
||||
|
@ -101,7 +108,7 @@
|
|||
|
||||
{{if $homepage}}
|
||||
<div class="homepage detail">
|
||||
<span class="homepage-label icon"><i class="fa fa-external-link-square"></i></span>
|
||||
<span class="homepage-label icon"><i class="fa fa-external-link"></i></span>
|
||||
<span class="homepage-url u-url"><a href="{{$profile.homepage}}" rel="me" target="_blank" rel="noopener noreferrer">{{include file="sub/punct_wrap.tpl" text=$profile.homepage}}</a></span>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
|
|
@ -129,6 +129,8 @@
|
|||
|
||||
{{include file="field_input.tpl" field=$xmpp}}
|
||||
|
||||
{{include file="field_input.tpl" field=$matrix}}
|
||||
|
||||
{{include file="field_input.tpl" field=$pub_keywords}}
|
||||
|
||||
{{include file="field_input.tpl" field=$prv_keywords}}
|
||||
|
|
|
@ -69,11 +69,18 @@
|
|||
|
||||
{{if $contact.xmpp}}
|
||||
<div class="xmpp detail">
|
||||
<span class="xmpp-label icon"><i class="fa fa-comments"></i></span>
|
||||
<span class="xmpp-label icon"><i class="fa fa-xmpp"></i></span>
|
||||
<span class="xmpp-data"><a href="xmpp:{{$contact.xmpp}}" rel="me" target="_blank" rel="noopener noreferrer">{{include file="sub/punct_wrap.tpl" text=$contact.xmpp}}</a></span>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{if $contact.matrix}}
|
||||
<div class="matrix detail">
|
||||
<span class="matrix-label icon"><i class="fa fa-matrix-org"></i></span>
|
||||
<span class="matrix-data"><a href="matrix:{{$contact.matrix}}" rel="me" target="_blank" rel="noopener noreferrer">{{include file="sub/punct_wrap.tpl" text=$contact.matrix}}</a></span>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{if $network_link}}
|
||||
<div class="network detail">
|
||||
<span class="network-label icon"><i class="fa fa-{{$network_avatar}}"></i></span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue