user/picture component

main
psychobunny 9 years ago
parent 68fc28aee6
commit 83e6a9ead7

@ -2,7 +2,7 @@
<div class="icon pull-left"> <div class="icon pull-left">
<a href="<!-- IF posts.user.userslug -->{config.relative_path}/user/{posts.user.userslug}<!-- ELSE -->#<!-- ENDIF posts.user.userslug -->"> <a href="<!-- IF posts.user.userslug -->{config.relative_path}/user/{posts.user.userslug}<!-- ELSE -->#<!-- ENDIF posts.user.userslug -->">
<!-- IF posts.user.picture --> <!-- IF posts.user.picture -->
<img src="{posts.user.picture}" align="left" itemprop="image" /> <img data-component="user/picture" data-uid="{posts.user.uid}" src="{posts.user.picture}" align="left" itemprop="image" />
<!-- ELSE --> <!-- ELSE -->
<div class="user-icon" style="background-color: {posts.user.icon:bgColor};">{posts.user.icon:text}</div> <div class="user-icon" style="background-color: {posts.user.icon:bgColor};">{posts.user.icon:text}</div>
<!-- ENDIF posts.user.picture --> <!-- ENDIF posts.user.picture -->

Loading…
Cancel
Save