forked from 00dani/lemoncurry
Add a user field specifically for XMPP, because it needs to be handled a little differently to the user profiles (different mf2 property, stuff like that)
This commit is contained in:
parent
5349fc4c96
commit
6b51531cb4
4 changed files with 28 additions and 1 deletions
|
@ -30,6 +30,11 @@
|
|||
<li>
|
||||
<a class="u-email" rel="me" href="mailto:{{ user.email }}"><i class="fa fa-envelope"></i> {{ user.email }}</a>
|
||||
</li>
|
||||
{% if user.xmpp %}
|
||||
<li>
|
||||
<a class="u-impp" rel="me" href="xmpp:{{ user.xmpp }}"><i class="openwebicons-xmpp"></i> {{ user.xmpp }}</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% for profile in user.profiles.all %}<li>
|
||||
<a class="u-url" rel="me" href="{{ profile.url }}"><i class="{{ profile.site.icon }}"></i> {{ profile.name }}</a>
|
||||
</li>{% endfor %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue