mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Use strformat more
This commit is contained in:
parent
6709f6f1b5
commit
21e8f04fa4
11 changed files with 38 additions and 37 deletions
|
|
@ -154,7 +154,7 @@ proc renderPoll(poll: Poll): VNode =
|
|||
span(class="poll-choice-value"): text percStr
|
||||
span(class="poll-choice-option"): text poll.options[i]
|
||||
span(class="poll-info"):
|
||||
text insertSep($poll.votes, ',') & " votes • " & poll.status
|
||||
text &"{insertSep($poll.votes, ',')} votes • {poll.status}"
|
||||
|
||||
proc renderCardImage(card: Card): VNode =
|
||||
buildHtml(tdiv(class="card-image-container")):
|
||||
|
|
|
|||
Loading…
Reference in a new issue