Support quoted replies stat, update font
This commit is contained in:
@@ -28,7 +28,7 @@ proc renderNavbar*(title, rss: string; req: Request): VNode =
|
||||
icon "rss-feed", title="RSS Feed", href=rss
|
||||
icon "bird", title="Open in Twitter", href=twitterPath
|
||||
a(href="https://liberapay.com/zedeus"): verbatim lp
|
||||
icon "info-circled", title="About", href="/about"
|
||||
icon "info", title="About", href="/about"
|
||||
iconReferer "cog", "/settings", path, title="Preferences"
|
||||
|
||||
proc renderHead*(prefs: Prefs; cfg: Config; titleText=""; desc=""; video="";
|
||||
|
||||
@@ -27,7 +27,7 @@ proc linkUser*(profile: Profile, class=""): VNode =
|
||||
icon "ok", class="verified-icon", title="Verified account"
|
||||
if isName and profile.protected:
|
||||
text " "
|
||||
icon "lock-circled", title="Protected account"
|
||||
icon "lock", title="Protected account"
|
||||
|
||||
proc linkText*(text: string; class=""): VNode =
|
||||
let url = if "http" notin text: "http://" & text else: text
|
||||
|
||||
@@ -186,6 +186,7 @@ proc renderStats(stats: TweetStats; views: string): VNode =
|
||||
span(class="tweet-stat"): icon "comment", insertSep($stats.replies, ',')
|
||||
span(class="tweet-stat"): icon "retweet", insertSep($stats.retweets, ',')
|
||||
span(class="tweet-stat"): icon "heart", insertSep($stats.likes, ',')
|
||||
span(class="tweet-stat"): icon "quote", insertSep($stats.quotes, ',')
|
||||
if views.len > 0:
|
||||
span(class="tweet-stat"): icon "play", insertSep(views, ',')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user