sticky Likes tab
This commit is contained in:
parent
f14409f5f5
commit
188445e96b
1 changed files with 2 additions and 3 deletions
|
@ -38,9 +38,8 @@ proc renderProfileTabs*(query: Query; username: string; cfg: Config): VNode =
|
||||||
a(href=(link & "/with_replies")): text "Tweets & Replies"
|
a(href=(link & "/with_replies")): text "Tweets & Replies"
|
||||||
li(class=query.getTabClass(media)):
|
li(class=query.getTabClass(media)):
|
||||||
a(href=(link & "/media")): text "Media"
|
a(href=(link & "/media")): text "Media"
|
||||||
if len(cfg.xCsrfToken) != 0 and len(cfg.cookieHeader) != 0:
|
li(class=query.getTabClass(favorites)):
|
||||||
li(class=query.getTabClass(favorites)):
|
a(href=(link & "/favorites")): text "Likes"
|
||||||
a(href=(link & "/favorites")): text "Likes"
|
|
||||||
li(class=query.getTabClass(tweets)):
|
li(class=query.getTabClass(tweets)):
|
||||||
a(href=(link & "/search")): text "Search"
|
a(href=(link & "/search")): text "Search"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue