turned user tweets and likes stats into hyperlinks
This commit is contained in:
parent
ced0599e89
commit
6bd21d6f0a
1 changed files with 4 additions and 2 deletions
|
@ -58,11 +58,13 @@ proc renderUserCard*(user: User; prefs: Prefs): VNode =
|
||||||
|
|
||||||
tdiv(class="profile-card-extra-links"):
|
tdiv(class="profile-card-extra-links"):
|
||||||
ul(class="profile-statlist"):
|
ul(class="profile-statlist"):
|
||||||
|
a(href="/" & user.username):
|
||||||
renderStat(user.tweets, "posts", text="Tweets")
|
renderStat(user.tweets, "posts", text="Tweets")
|
||||||
a(href="/" & user.username & "/following"):
|
a(href="/" & user.username & "/following"):
|
||||||
renderStat(user.following, "following")
|
renderStat(user.following, "following")
|
||||||
a(href="/" & user.username & "/followers"):
|
a(href="/" & user.username & "/followers"):
|
||||||
renderStat(user.followers, "followers")
|
renderStat(user.followers, "followers")
|
||||||
|
a(href="/" & user.username & "/favorites"):
|
||||||
renderStat(user.likes, "likes")
|
renderStat(user.likes, "likes")
|
||||||
|
|
||||||
proc renderPhotoRail(profile: Profile): VNode =
|
proc renderPhotoRail(profile: Profile): VNode =
|
||||||
|
|
Loading…
Reference in a new issue