Display "No tweets found" when appropriate

このコミットが含まれているのは:
Zed 2019-06-24 08:44:37 +02:00
コミット e81865e144
1個のファイルの変更5行の追加1行の削除

ファイルの表示

@ -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