fix: missed a couple avatars

main
Julian Lam 6 years ago
parent e50b51590e
commit b3a9fb8ce0

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

@ -22,12 +22,7 @@
<hr /> <hr />
<button class="btn btn-sm btn-primary pull-right" data-uid="{../uid}" data-action="toggle">[[user:block_toggle]]</button> <button class="btn btn-sm btn-primary pull-right" data-uid="{../uid}" data-action="toggle">[[user:block_toggle]]</button>
<div class="pull-left"> <div class="pull-left">
<a href="{config.relative_path}/uid/{../uid}"> <a href="{config.relative_path}/uid/{../uid}">{buildAvatar(edit, "sm", true)} {../username}</a>
<!-- 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>
</div> </div>
<!-- END --> <!-- END -->
<!-- END --> <!-- END -->

@ -13,12 +13,7 @@
<li class="dropdown-header">[[modules:chat.in-room]]</li> <li class="dropdown-header">[[modules:chat.in-room]]</li>
<!-- BEGIN users --> <!-- BEGIN users -->
<li> <li>
<a href="{config.relative_path}/uid/{../uid}"> <a href="{config.relative_path}/uid/{../uid}">{buildAvatar(users, "sm", true)} {../username}</a>
<!-- 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>
</li> </li>
<!-- END --> <!-- END -->
<li role="separator" class="divider"></li> <li role="separator" class="divider"></li>

@ -3,7 +3,7 @@
<div component="chat/header"> <div component="chat/header">
<button type="button" class="close" data-action="pop-out"><span aria-hidden="true"><i class="fa fa-compress"></i></span><span class="sr-only">[[modules:chat.pop-out]]</span></button> <button type="button" class="close" data-action="pop-out"><span aria-hidden="true"><i class="fa fa-compress"></i></span><span class="sr-only">[[modules:chat.pop-out]]</span></button>
<button type="button" class="close" aria-label="Close" data-action="close"><span aria-hidden="true">&times;</span></button> <button type="button" class="close" aria-label="Close" data-action="close"><span aria-hidden="true">&times;</span></button>
<div class="dropdown pull-right"> <div class="dropdown pull-right">
<button class="close" data-toggle="dropdown" component="chat/controlsToggle"><i class="fa fa-gear"></i></button> <button class="close" data-toggle="dropdown" component="chat/controlsToggle"><i class="fa fa-gear"></i></button>
<ul class="dropdown-menu dropdown-menu-right pull-right" component="chat/controls"> <ul class="dropdown-menu dropdown-menu-right pull-right" component="chat/controls">
@ -11,12 +11,7 @@
<li class="dropdown-header">[[modules:chat.in-room]]</li> <li class="dropdown-header">[[modules:chat.in-room]]</li>
<!-- BEGIN users --> <!-- BEGIN users -->
<li> <li>
<a href="{config.relative_path}/uid/{../uid}"> <a href="{config.relative_path}/uid/{../uid}">{buildAvatar(users, "sm", true)} {../username}</a>
<!-- 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>
</li> </li>
<!-- END --> <!-- END -->
<li role="separator" class="divider"></li> <li role="separator" class="divider"></li>

@ -1,13 +1,7 @@
<!-- BEGIN users --> <!-- BEGIN users -->
<li class="list-group-item"> <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 ../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 --> {buildAvatar(users, "sm", true)}
<!-- IF ../picture --> <span>{../username} <!-- IF ../isOwner --><i class="fa fa-star text-warning" title="[[modules:chat.owner]]"></i><!-- END --></span>
<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>
</li> </li>
<!-- END --> <!-- END -->

@ -1,6 +1,6 @@
<!-- BEGIN users --> <!-- BEGIN users -->
<li class="users-box registered-user" data-uid="{users.uid}"> <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/> <br/>
<div class="user-info"> <div class="user-info">
<span> <span>

Loading…
Cancel
Save