fix: missed a couple avatars

main
Julian Lam 6 years ago
parent e50b51590e
commit b3a9fb8ce0

@ -308,6 +308,7 @@
width: 28px;
height: 28px;
line-height: 26px;
vertical-align: bottom;
}
img {
@ -561,7 +562,6 @@
[component="chat/manage-modal"] {
.list-group-item .avatar {
border-radius: 0;
margin-right: 1em;
}

@ -22,12 +22,7 @@
<hr />
<button class="btn btn-sm btn-primary pull-right" data-uid="{../uid}" data-action="toggle">[[user:block_toggle]]</button>
<div class="pull-left">
<a href="{config.relative_path}/uid/{../uid}">
<!-- IF ../picture -->
<img class="avatar avatar-sm" component="user/picture" src="{../picture}" itemprop="image" />
<!-- ELSE -->
<div class="avatar avatar-sm" component="user/picture" style="background-color: {../icon:bgColor};">{../icon:text}</div><!-- END -->{../username}
</a>
<a href="{config.relative_path}/uid/{../uid}">{buildAvatar(edit, "sm", true)} {../username}</a>
</div>
<!-- END -->
<!-- END -->

@ -13,12 +13,7 @@
<li class="dropdown-header">[[modules:chat.in-room]]</li>
<!-- BEGIN users -->
<li>
<a href="{config.relative_path}/uid/{../uid}">
<!-- IF ../picture -->
<img class="avatar avatar-sm" component="user/picture" src="{../picture}" itemprop="image" />
<!-- ELSE -->
<div class="avatar avatar-sm" component="user/picture" style="background-color: {../icon:bgColor};">{../icon:text}</div><!-- END -->{../username}
</a>
<a href="{config.relative_path}/uid/{../uid}">{buildAvatar(users, "sm", true)} {../username}</a>
</li>
<!-- END -->
<li role="separator" class="divider"></li>

@ -11,12 +11,7 @@
<li class="dropdown-header">[[modules:chat.in-room]]</li>
<!-- BEGIN users -->
<li>
<a href="{config.relative_path}/uid/{../uid}">
<!-- IF ../picture -->
<img class="avatar avatar-sm" component="user/picture" src="{../picture}" itemprop="image" />
<!-- ELSE -->
<div class="avatar avatar-sm" component="user/picture" style="background-color: {../icon:bgColor};">{../icon:text}</div><!-- END -->{../username}
</a>
<a href="{config.relative_path}/uid/{../uid}">{buildAvatar(users, "sm", true)} {../username}</a>
</li>
<!-- END -->
<li role="separator" class="divider"></li>

@ -1,13 +1,7 @@
<!-- BEGIN users -->
<li class="list-group-item">
<!-- IF ../canKick --><button class="pull-right btn btn-xs btn-link" data-action="kick" data-uid="{../uid}">[[modules:chat.kick]]</button><!-- END -->
<!-- IF ../isOwner --><i class="fa fa-star text-warning" title="[[modules:chat.owner]]"></i><!-- END -->
<!-- IF ../picture -->
<img class="avatar avatar-sm" component="user/picture" data-uid="{../uid}" src="{../picture}" align="left" itemprop="image" />
<!-- ELSE -->
<div class="avatar avatar-sm" component="user/picture" data-uid="{../uid}" style="background-color: {../icon:bgColor};">{../icon:text}</div>
<!-- ENDIF ../picture -->
<span>{../username}</span>
{buildAvatar(users, "sm", true)}
<span>{../username} <!-- IF ../isOwner --><i class="fa fa-star text-warning" title="[[modules:chat.owner]]"></i><!-- END --></span>
</li>
<!-- END -->

@ -1,6 +1,6 @@
<!-- BEGIN users -->
<li class="users-box registered-user" data-uid="{users.uid}">
<a href="{config.relative_path}/user/{users.userslug}">{buildAvatar(users, "lg", true)}</a>
<a href="{config.relative_path}/user/{users.userslug}">{buildAvatar(users, "80", true)}</a>
<br/>
<div class="user-info">
<span>

Loading…
Cancel
Save