Explorar o código

Make user search results clickable

Zed %!s(int64=7) %!d(string=hai) anos
pai
achega
a8c0842228
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/views/timeline.nim

+ 1 - 0
src/views/timeline.nim

@@ -44,6 +44,7 @@ proc threadFilter(it: Tweet; tweetThread: string): bool =
 
 proc renderUser(user: Profile; prefs: Prefs): VNode =
   buildHtml(tdiv(class="timeline-item")):
+    a(class="tweet-link", href=("/" & user.username))
     tdiv(class="tweet-body profile-result"):
       tdiv(class="tweet-header"):
         a(class="tweet-avatar", href=("/" & user.username)):