mirror of
https://github.com/zedeus/nitter.git
synced 2024-12-14 20:16:31 +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:
|
#if profile.protected:
|
||||||
<div class="timeline-protected">
|
<div class="timeline-protected">
|
||||||
<h2 class="timeline-protected-header">This account's Tweets are protected.</h2>
|
<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>
|
</div>
|
||||||
#end if
|
#end if
|
||||||
#if not beginning:
|
#if not beginning:
|
||||||
|
@ -82,6 +82,10 @@
|
||||||
#let id = if retweet.len > 0: retweet else: tweets[^1].id
|
#let id = if retweet.len > 0: retweet else: tweets[^1].id
|
||||||
<a href="/${profile.username}?after=${$id}">Load older tweets</a>
|
<a href="/${profile.username}?after=${$id}">Load older tweets</a>
|
||||||
</div>
|
</div>
|
||||||
|
#else:
|
||||||
|
<div class="timeline-protected">
|
||||||
|
<h2 class="timeline-protected-header" style="text-align: center;">No tweets found.</h2>
|
||||||
|
</div>
|
||||||
#end if
|
#end if
|
||||||
</div>
|
</div>
|
||||||
#end proc
|
#end proc
|
||||||
|
|
Loading…
Reference in a new issue