fixed user icons in teasers

main
Julian Lam 9 years ago
parent f39c7d039c
commit 78f88fd1a3

@ -7,7 +7,7 @@
<!-- IF ../user.picture -->
<img class="user-img" title="{../user.username}" src="{../user.picture}" />
<!-- ELSE -->
<span class="user-icon user-img" style="background-color: {../user.icon:bgColor};">{../user.icon:text}</span>
<span class="user-icon user-img" title="{../user.username}" style="background-color: {../user.icon:bgColor};">{../user.icon:text}</span>
<!-- ENDIF ../user.picture -->
</a>
<a class="permalink" href="{config.relative_path}/topic/{../topic.slug}<!-- IF ../index -->/{../index}<!-- ENDIF ../index -->">

@ -85,7 +85,7 @@
<!-- IF topics.teaser.user.picture -->
<img title="{topics.teaser.user.username}" class="user-img" src="{topics.teaser.user.picture}" />
<!-- ELSE -->
<span class="user-icon user-img" style="background-color: {topics.teaser.user.icon:bgColor};">{topics.teaser.user.icon:text}</span>
<span title="{topics.teaser.user.username}" class="user-icon user-img" style="background-color: {topics.teaser.user.icon:bgColor};">{topics.teaser.user.icon:text}</span>
<!-- ENDIF topics.teaser.user.picture -->
</a>
<a class="permalink" href="{config.relative_path}/topic/{topics.slug}/{topics.teaser.index}">

Loading…
Cancel
Save