<li class="col-md-6 list-group-item list-users__user">
<div class="media ">
<img class="rounded-circle mr-3" src="">
<div class="media-body ">
<div class="mb-3">
<div class="mb-2">
<username :user="{id:'', first_name:'', last_name:'', username:'', show_name:}" display="full"></username>
</div>
</div>
<a href="#" class="btn btn-outline-primary " data-toggle="modal" data-target="#addFriendModal" @click="$store.commit('user/setSelectedUser',{id:'',first_name:'',last_name:'',username:'',show_name:,picture:''})">
<i class="fas fa-user-plus"></i> Freund hinzufügen
</a>
</div>
</div>
</li>
<li class="col-md-6 list-group-item list-users__user">
<div class="media ">
<img class="rounded-circle mr-3" src="{{friend.picture_url }}">
<div class="media-body ">
<div class="mb-3">
<div class="mb-2">
<username :user="{id:'{{friend.username}}', first_name:'{{friend.first_name}}', last_name:'{{friend.last_name}}', username:'{{friend.username}}', show_name:{{friend.show_name}}}" display="full"></username>
</div>
{% if friend.category1 and friend.category1.id %}
<div class="mb-2">
<a class="btn btn-primary btn-sm" title="{{userdata.username}} & {{friend.username}}" href="https://youthweb.net/users/313977/friends/{{friend.category1.id}}"><span class="fa fa-tag"></span> {{friend.category1.name}}</a>
</div>
{% endif %}
{% if friend.category2 and friend.category2.id %}
<div class="mb-2">
<a class="btn btn-primary btn-sm" href="https://youthweb.net/users/313977/friends/{{friend.category2.id}}"><span class="fa fa-tag"></span> {{friend.category2.name}}</a>
</div>
{% endif %}
{% if friend.description %}
<p class="mb-2">{{friend.description}}</p>
{% endif %}
</div>
{% include 'user/partials/add-friend-button.html.twig' with { 'friend':friend} %}
</div>
</div>
</li>
/* No context defined. */
No notes defined.