Make user JID a link in user details.

This commit is contained in:
Emmanuel Gil Peyrot 2018-11-02 03:10:05 +01:00 committed by JC Brand
parent 6e26f8b50a
commit 8c5df984f4
2 changed files with 5 additions and 3 deletions

6
dist/converse.js vendored
View File

@ -103634,9 +103634,11 @@ __e(o.fullname) +
} ;
__p += '\n <p><label>' +
__e(o.__('XMPP Address:')) +
'</label>&nbsp;' +
'</label>&nbsp;<a href="xmpp:' +
__e(o.jid) +
'</p>\n ';
'">' +
__e(o.jid) +
'</a></p>\n ';
if (o.nickname) { ;
__p += '\n <p><label>' +
__e(o.__('Nickname:')) +

View File

@ -14,7 +14,7 @@
{[ if (o.fullname) { ]}
<p><label>{{{o.__('Full Name:')}}}</label>&nbsp;{{{o.fullname}}}</p>
{[ } ]}
<p><label>{{{o.__('XMPP Address:')}}}</label>&nbsp;{{{o.jid}}}</p>
<p><label>{{{o.__('XMPP Address:')}}}</label>&nbsp;<a href="xmpp:{{{o.jid}}}">{{{o.jid}}}</a></p>
{[ if (o.nickname) { ]}
<p><label>{{{o.__('Nickname:')}}}</label>&nbsp;{{{o.nickname}}}</p>
{[ } ]}