Make "more replies" link to the tweet
This commit is contained in:
parent
9038645bc1
commit
7915616e2e
|
@ -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 =
|
||||||
|
|
Loading…
Reference in New Issue