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")
|
2017-07-10 14:58:34 +00:00
|
|
|
a.thread-link-title.ajax(href="/thread/" + thread.ID)= thread.Title
|
2017-06-12 22:06:35 +00:00
|
|
|
.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]))
|