mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Refactor tweet/timeline views
This commit is contained in:
parent
a687188dd1
commit
eeae28da0c
8 changed files with 114 additions and 143 deletions
|
|
@ -6,7 +6,7 @@ import tweet
|
|||
proc renderMoreReplies(thread: Thread): VNode =
|
||||
let num = if thread.more != -1: $thread.more & " " else: ""
|
||||
let reply = if thread.more == 1: "reply" else: "replies"
|
||||
buildHtml(tdiv(class="status-el more-replies")):
|
||||
buildHtml(tdiv(class="timeline-item more-replies")):
|
||||
a(class="more-replies-text", title="Not implemented yet"):
|
||||
text $num & "more " & reply
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue