add browsing users partial

main
Baris Usakli 8 years ago
parent e5a58c5d7a
commit 387cd6fa72

@ -7,6 +7,8 @@
<!-- END tags -->
</div>
<!-- IMPORT partials/topic/browsing-users.tpl -->
<div class="topic-main-buttons pull-right">
<span class="loading-indicator btn pull-left hidden" done="0">
<span class="hidden-xs">[[topic:loading_more_posts]]</span> <i class="fa fa-refresh fa-spin"></i>

@ -0,0 +1,13 @@
<div component="topic/browsing-users">
<!-- BEGIN browsingUsers -->
<div class="pull-left">
<a href="<!-- IF browsingUsers.userslug -->{config.relative_path}/user/{browsingUsers.userslug}<!-- ELSE -->#<!-- ENDIF browsingUsers.userslug -->">
<!-- 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}"/>
<!-- 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>
<!-- ENDIF browsingUsers.picture -->
</a>
</div>
<!-- END browsingUsers -->
</div>
Loading…
Cancel
Save