Proxy attribution avatar
This commit is contained in:
parent
08845922f4
commit
8bc6381f4d
1 changed files with 2 additions and 1 deletions
|
@ -189,8 +189,9 @@ proc renderReply(quote: Quote): VNode =
|
||||||
a(href=("/" & u)): text "@" & u
|
a(href=("/" & u)): text "@" & u
|
||||||
|
|
||||||
proc renderAttribution(profile: Profile): VNode =
|
proc renderAttribution(profile: Profile): VNode =
|
||||||
|
let avatarUrl = getPicUrl(profile.getUserpic("_200x200"))
|
||||||
buildHtml(a(class="attribution", href=("/" & profile.username))):
|
buildHtml(a(class="attribution", href=("/" & profile.username))):
|
||||||
img(class="avatar", width="20", height="20", src=profile.getUserpic("_200x200"))
|
img(class="avatar", width="20", height="20", src=avatarUrl)
|
||||||
strong: text profile.fullname
|
strong: text profile.fullname
|
||||||
|
|
||||||
proc renderQuoteMedia(quote: Quote): VNode =
|
proc renderQuoteMedia(quote: Quote): VNode =
|
||||||
|
|
Loading…
Reference in a new issue