Update Timeline, fix suggested posts

This commit is contained in:
Daniel Supernault 2021-06-28 23:18:28 -06:00
parent c1a6f7c4d2
commit 3ba5c88c35
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7
2 changed files with 6 additions and 6 deletions

View file

@ -181,7 +181,7 @@
</div> </div>
<div v-if="!loading && scope == 'home' && recentFeed && discover_feed.length" class="pt-3"> <div v-if="!loading && scope == 'home' && recentFeed && discover_feed.length" class="pt-3">
<p class="h5 font-weight-bold pt-3 mb-0 d-flex justify-content-between align-items-center"> <p class="h5 font-weight-bold py-3 d-flex justify-content-between align-items-center">
<span>Suggested Posts</span> <span>Suggested Posts</span>
<a href="/?a=vop" class="small font-weight-bold">Older Posts</a> <a href="/?a=vop" class="small font-weight-bold">Older Posts</a>
</p> </p>
@ -272,7 +272,7 @@
</div> </div>
</div> </div>
<status :status="status" :recommended="true" /> <status-card :status="status" :recommended="true" />
</div> </div>
</div> </div>
</div> </div>

View file

@ -107,14 +107,14 @@
</p> </p>
</div> </div>
<div class="timestamp mt-2"> <div class="timestamp mt-2">
<p class="small text-uppercase mb-0"> <p class="small mb-0">
<a :href="statusUrl(status)" class="text-muted"> <a :href="statusUrl(status)" class="text-muted text-uppercase">
<timeago :datetime="status.created_at" :auto-update="60" :converter-options="{includeSeconds:true}" :title="timestampFormat(status.created_at)" v-b-tooltip.hover.bottom></timeago> <timeago :datetime="status.created_at" :auto-update="60" :converter-options="{includeSeconds:true}" :title="timestampFormat(status.created_at)" v-b-tooltip.hover.bottom></timeago>
</a> </a>
<div v-if="recommended"> <span v-if="recommended">
<span class="px-1">&middot;</span> <span class="px-1">&middot;</span>
<span class="text-muted">Based on popular and trending content</span> <span class="text-muted">Based on popular and trending content</span>
</div> </span>
</p> </p>
</div> </div>
</div> </div>