2017-06-12 22:06:35 +00:00
|
|
|
component ThreadLink(thread *arn.Thread)
|
2017-06-20 18:13:04 +00:00
|
|
|
.thread-link.mountable(data-sticky=thread.Sticky)
|
2017-06-12 22:06:35 +00:00
|
|
|
.post-author.thread-author
|
|
|
|
Avatar(thread.Author())
|
|
|
|
.thread-content-container
|
|
|
|
.thread-content
|
2017-06-27 01:05:52 +00:00
|
|
|
if thread.Sticky != 0
|
2017-06-12 22:06:35 +00:00
|
|
|
Icon("thumb-tack")
|
|
|
|
a.thread-link-title.ajax(href="/threads/" + thread.ID)= thread.Title
|
|
|
|
.spacer
|
2017-06-26 21:41:16 +00:00
|
|
|
.thread-reply-count= len(thread.Posts)
|
2017-06-12 22:06:35 +00:00
|
|
|
.thread-icons
|
|
|
|
Icon(arn.GetForumIcon(thread.Tags[0]))
|