previous fix but for text avatars as well

main
psychobunny 8 years ago
parent 1b581eb9f1
commit 624dd8afc3

@ -3,9 +3,9 @@
<div class="cover" component="account/cover" style="background-image: url({cover:url}); background-position: {cover:position};"> <div class="cover" component="account/cover" style="background-image: url({cover:url}); background-position: {cover:position};">
<div class="avatar-wrapper" data-uid="{uid}"> <div class="avatar-wrapper" data-uid="{uid}">
<!-- IF picture --> <!-- IF picture -->
<img src="{picture}" class="avatar avatar-rounded" /> <img src="{picture}" class="avatar avatar-lg avatar-rounded" />
<!-- ELSE --> <!-- ELSE -->
<div class="avatar avatar-rounded" style="background-color: {icon:bgColor};" title="{username}">{icon:text}</div> <div class="avatar avatar-lg avatar-rounded" style="background-color: {icon:bgColor};" title="{username}">{icon:text}</div>
<!-- ENDIF picture --> <!-- ENDIF picture -->
<i component="user/status" class="fa fa-circle status {status}" title="[[global:{status}]]"></i> <i component="user/status" class="fa fa-circle status {status}" title="[[global:{status}]]"></i>

Loading…
Cancel
Save