Make "more replies" link to the tweet

This commit is contained in:
Zed 2019-09-24 15:50:52 +02:00
parent 9038645bc1
commit 7915616e2e

View file

@ -7,7 +7,7 @@ proc renderMoreReplies(thread: Thread): VNode =
let num = if thread.more != -1: $thread.more & " " else: "" let num = if thread.more != -1: $thread.more & " " else: ""
let reply = if thread.more == 1: "reply" else: "replies" let reply = if thread.more == 1: "reply" else: "replies"
buildHtml(tdiv(class="timeline-item more-replies")): buildHtml(tdiv(class="timeline-item more-replies")):
a(class="more-replies-text", title="Not implemented yet"): a(class="more-replies-text", href=getLink(thread.content[0])):
text $num & "more " & reply text $num & "more " & reply
proc renderReplyThread(thread: Thread; prefs: Prefs; path: string): VNode = proc renderReplyThread(thread: Thread; prefs: Prefs; path: string): VNode =