summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/directory.st15
1 files changed, 6 insertions, 9 deletions
diff --git a/template/directory.st b/template/directory.st
index b21d2ad..85d6a8c 100644
--- a/template/directory.st
+++ b/template/directory.st
@@ -31,21 +31,18 @@
<a href="/u/$u.nick$">
<b>$u.nick$</b>
$if(u.avatar)$
- <div style="border-image:url($u.avatar$)">
- <div id="logavatar">
- <img height="50" width="50" src="$u.avatar$"></img>
- </div>
+ <div id="logavatar">
+ <img height="50" width="50" src="$u.avatar$" />
+ </div>
$else$
- <div style="border-image:url(/static/noinfo.png)">
- <div id="logavatar">
- <img height="50" width="50" src="/static/noinfo.png"></img>
- </div>
+ <div id="logavatar">
+ <img height="50" width="50" src="/static/noinfo.png" />
+ </div>
$endif$
</a>
<div id="infotxt"><b>last post</b></div>
<span class="linkify">$u.content$</span>
<hr />
- </div>
$share_buttons()$
</div>
}$