You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nodebb/public/templates/following.tpl

39 lines
1.2 KiB
Smarty

<div class="well users account">
<div class="account-username-box" data-userslug="{userslug}">
<span class="account-username">
<a href="/user/{userslug}">{username}</a> <i class="fa fa-chevron-right"></i>
<a href="/user/{userslug}/following">[[user:following]]</a>
</span>
</div>
<div>
<!-- BEGIN following -->
<div class="users-box">
<a href="/user/{following.userslug}">
<img src="{following.picture}" class="img-thumbnail"/>
</a>
<br/>
<div class="user-info">
<a href="/user/{following.userslug}">{following.username}</a>
<br/>
<div title="reputation" class="reputation">
<span class='formatted-number'>{following.reputation}</span>
<i class='fa fa-star'></i>
</div>
<div title="post count" class="post-count">
<span class='formatted-number'>{following.postcount}</span>
<i class='fa fa-pencil'></i>
</div>
</div>
</div>
<!-- END following -->
</div>
<div id="no-following-notice" class="alert alert-warning hide">[[user:follows_no_one]]</div>
</div>
<input type="hidden" template-variable="yourid" value="{yourid}" />
<input type="hidden" template-variable="theirid" value="{theirid}" />
<input type="hidden" template-variable="followingCount" value="{followingCount}" />