Created
August 29, 2020 01:02
-
-
Save joelmiguelvalente/c9ae2d5766f88730ce8ac1e41a6e83a5 to your computer and use it in GitHub Desktop.
Buscar usuarios
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{if $tsListaU} | |
{foreach $tsListaU item=user} | |
<div class="d-inline-block"> | |
<div class="userFound d-flex justify-content-start align-items-center"> | |
<img src="{$tsConfig.url}/files/avatar/{$user.user_id}.webp" class="avatar avatar-circle shadow"> | |
<span> | |
<a class="d-block font-weight-bolder text-dark" href="{$tsConfig.url}/perfil/{$user.user_name}" style="margin-bottom: -6px;">{$user.user_name} #{$user.user_id}</a> | |
<small class="text-{if $user.user_activo == 1 && $user.user_baneado == 0}success{else}danger{/if} font-weight-bold">{if $user.user_baneado == 1}Baneado{else}{if $user.user_activo == 1}Activado{else}Cuenta desactivada{/if}{/if}</small> | |
</span> | |
</div> | |
</div> | |
{/foreach} | |
{else} | |
<div class="alert alert-warning">No se encontro al usuario que buscas</div> | |
{/if} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment