mirror of
https://github.com/zedeus/nitter.git
synced 2024-12-14 03:56:29 +00:00
Display "No tweets found" when appropriate
This commit is contained in:
parent
1927858f95
commit
e81865e144
1 changed files with 5 additions and 1 deletions
|
@ -61,7 +61,7 @@
|
|||
#if profile.protected:
|
||||
<div class="timeline-protected">
|
||||
<h2 class="timeline-protected-header">This account's Tweets are protected.</h2>
|
||||
<p class="timeline-protected-explanation">Only confirmed followers have access to @${profile.username}'s Tweets.
|
||||
<p class="timeline-protected-explanation">Only confirmed followers have access to @${profile.username}'s Tweets.</p>
|
||||
</div>
|
||||
#end if
|
||||
#if not beginning:
|
||||
|
@ -82,6 +82,10 @@
|
|||
#let id = if retweet.len > 0: retweet else: tweets[^1].id
|
||||
<a href="/${profile.username}?after=${$id}">Load older tweets</a>
|
||||
</div>
|
||||
#else:
|
||||
<div class="timeline-protected">
|
||||
<h2 class="timeline-protected-header" style="text-align: center;">No tweets found.</h2>
|
||||
</div>
|
||||
#end if
|
||||
</div>
|
||||
#end proc
|
||||
|
|
Loading…
Reference in a new issue