Fix tests

This commit is contained in:
Zed
2019-09-19 02:29:24 +02:00
parent bd774cf0ca
commit 418168e570
5 changed files with 16 additions and 16 deletions

View File

@@ -76,10 +76,9 @@ proc renderBanner(profile: Profile): VNode =
proc renderProtected(username: string): VNode =
buildHtml(tdiv(class="timeline-container")):
tdiv(class="timeline-container timeline"):
tdiv(class="timeline-header timeline-protected"):
h2: text "This account's tweets are protected."
p: text &"Only confirmed followers have access to @{username}'s tweets."
tdiv(class="timeline-header timeline-protected"):
h2: text "This account's tweets are protected."
p: text &"Only confirmed followers have access to @{username}'s tweets."
proc renderProfile*(profile: Profile; timeline: Timeline;
photoRail: seq[GalleryPhoto]; prefs: Prefs; path: string): VNode =