mirror of
https://github.com/zedeus/nitter
synced 2026-09-06 07:09:31 +00:00
Display unavailable quotes
This commit is contained in:
parent
8773fd901b
commit
b708c78c42
4 changed files with 14 additions and 0 deletions
|
|
@ -119,6 +119,12 @@
|
|||
#
|
||||
#proc renderQuote(quote: Quote): string =
|
||||
#let hasMedia = quote.thumb.len > 0 or quote.sensitive
|
||||
#if not quote.available:
|
||||
<div class="quote unavailable">
|
||||
<div class="unavailable-quote">This tweet is unavailable</div>
|
||||
</div>
|
||||
#return
|
||||
#end if
|
||||
<div class="quote">
|
||||
<div class="quote-container">
|
||||
<a class="quote-link" href="${getLink(quote)}"></a>
|
||||
|
|
|
|||
Loading…
Reference in a new issue