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
|
2018-04-08 10:01:18 +00:00
|
|
|
Avatar(thread.Creator())
|
2017-06-12 22:06:35 +00:00
|
|
|
.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")
|
2018-03-23 20:33:19 +00:00
|
|
|
a.thread-link-title(href="/thread/" + thread.ID)= thread.Title
|
2017-06-12 22:06:35 +00:00
|
|
|
.spacer
|
2018-10-29 00:15:45 +00:00
|
|
|
.thread-reply-count= len(thread.PostIDs)
|
2017-06-12 22:06:35 +00:00
|
|
|
.thread-icons
|
|
|
|
Icon(arn.GetForumIcon(thread.Tags[0]))
|