fix: for browsing users

main
Barış Soner Uşaklı 4 years ago
parent 6856f76d45
commit 86d3de998f

@ -1,11 +1,11 @@
<div component="topic/browsing-users"> <div component="topic/browsing-users">
{{{each browsingUsers}}} {{{each browsingUsers}}}
<div class="pull-left"> <div class="pull-left" data-uid="{browsingUsers.uid}">
<a href="<!-- IF browsingUsers.userslug -->{config.relative_path}/user/{browsingUsers.userslug}<!-- ELSE -->#<!-- ENDIF browsingUsers.userslug -->"> <a href="<!-- IF browsingUsers.userslug -->{config.relative_path}/user/{browsingUsers.userslug}<!-- ELSE -->#<!-- ENDIF browsingUsers.userslug -->">
<!-- IF browsingUsers.picture --> <!-- IF browsingUsers.picture -->
<img class="avatar avatar-sm avatar-rounded" component="user/picture" data-uid="{browsingUsers.uid}" src="{browsingUsers.picture}" align="left" itemprop="image" title="{browsingUsers.username}"/> <img class="avatar avatar-sm avatar-rounded" component="user/picture" src="{browsingUsers.picture}" align="left" itemprop="image" title="{browsingUsers.username}"/>
<!-- ELSE --> <!-- ELSE -->
<div class="avatar avatar-sm avatar-rounded" component="user/picture" data-uid="{browsingUsers.uid}" title="{browsingUsers.username}" style="background-color: {browsingUsers.icon:bgColor};">{browsingUsers.icon:text}</div> <div class="avatar avatar-sm avatar-rounded" component="user/picture" title="{browsingUsers.username}" style="background-color: {browsingUsers.icon:bgColor};">{browsingUsers.icon:text}</div>
<!-- ENDIF browsingUsers.picture --> <!-- ENDIF browsingUsers.picture -->
</a> </a>
</div> </div>

Loading…
Cancel
Save