mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Add multi-user timeline support
This commit is contained in:
parent
4660d23667
commit
eeead99e32
8 changed files with 80 additions and 35 deletions
|
|
@ -64,4 +64,9 @@ proc renderProfile*(profile: Profile; timeline: Timeline;
|
|||
renderPhotoRail(profile.username, photoRail)
|
||||
|
||||
tdiv(class="timeline-tab"):
|
||||
renderTimeline(timeline, profile)
|
||||
renderTimeline(timeline, profile.username, profile.protected)
|
||||
|
||||
proc renderMulti*(timeline: Timeline; usernames: string): VNode =
|
||||
buildHtml(tdiv(class="multi-timeline")):
|
||||
tdiv(class="timeline-tab"):
|
||||
renderTimeline(timeline, usernames, false, multi=true)
|
||||
|
|
|
|||
Loading…
Reference in a new issue