Update Groups:
This commit is contained in:
parent
e23a20c3fd
commit
44d3f0a4c5
2 changed files with 28 additions and 1 deletions
|
@ -25,6 +25,33 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
{/if}
|
||||
{if $block_type=='groups_show'}
|
||||
<div class="row" id="user-{$user.userid}">
|
||||
|
||||
<div class="col-md-3 nopadding">
|
||||
<a href="{$userquery->profile_link($user)}">
|
||||
<img src="{$userquery->getuserthumb($user)}" class="img-circle" width="100" height="100">
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-md-9">
|
||||
<div class="pull-left">
|
||||
<h4><a class="show" href="{$userquery->profile_link($user)}">{$user.username}</a></h4>
|
||||
<ul class="list-unstyled">
|
||||
{if isSectionEnabled('videos')}
|
||||
<li class="label label-primary" style="display: inline">{$user.total_videos|number_format} {lang code="videos"}</li>
|
||||
{/if}
|
||||
{if isSectionEnabled('photos')}
|
||||
<li class="label label-info" style="display: inline">{$user.total_photos|number_format} {lang code="photos"}</li>
|
||||
{/if}
|
||||
<li class="label label-info" style="display: inline">{$user.profile_hits|number_format} {lang code="views"}</li>
|
||||
<li class="label label-danger" style="display: inline">{$user.subscribers|number_format} {lang code="subscribers"}</li>
|
||||
<!--<li>{lang code="last_active"} : {$user.last_active|nicetime}</li>-->
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/if}
|
||||
|
||||
{if $block_type =='small'}
|
||||
|
|
|
@ -87,7 +87,7 @@
|
|||
</div>
|
||||
{section name=u_list loop=$users}
|
||||
<div class="col-md-5 marginBottom grid_view list_view channels-view">
|
||||
{include file="$style_dir/blocks/user.html" user=$users[u_list]}
|
||||
{include file="$style_dir/blocks/user.html" user=$users[u_list] block_type="groups_show"}
|
||||
</div>
|
||||
{sectionelse}
|
||||
{lang code='no_results_found'}
|
||||
|
|
Loading…
Add table
Reference in a new issue