Make user search results clickable
This commit is contained in:
parent
28a1544cc0
commit
a8c0842228
|
@ -44,6 +44,7 @@ proc threadFilter(it: Tweet; tweetThread: string): bool =
|
||||||
|
|
||||||
proc renderUser(user: Profile; prefs: Prefs): VNode =
|
proc renderUser(user: Profile; prefs: Prefs): VNode =
|
||||||
buildHtml(tdiv(class="timeline-item")):
|
buildHtml(tdiv(class="timeline-item")):
|
||||||
|
a(class="tweet-link", href=("/" & user.username))
|
||||||
tdiv(class="tweet-body profile-result"):
|
tdiv(class="tweet-body profile-result"):
|
||||||
tdiv(class="tweet-header"):
|
tdiv(class="tweet-header"):
|
||||||
a(class="tweet-avatar", href=("/" & user.username)):
|
a(class="tweet-avatar", href=("/" & user.username)):
|
||||||
|
|
Loading…
Reference in New Issue