mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2025-05-10 22:08:45 +00:00
Added view pinned statuses in accounts
This commit is contained in:
parent
b07793e986
commit
ca99d0a789
3 changed files with 23 additions and 4 deletions
|
@ -115,7 +115,8 @@
|
|||
<a href="/user/{{.User.ID}}"> statuses ({{.User.StatusesCount}}) </a> -
|
||||
<a href="/user/{{.User.ID}}/following"> following ({{.User.FollowingCount}}) </a> -
|
||||
<a href="/user/{{.User.ID}}/followers"> followers ({{.User.FollowersCount}}) </a> -
|
||||
<a href="/user/{{.User.ID}}/media"> media </a>
|
||||
<a href="/user/{{.User.ID}}/media"> media </a> -
|
||||
<a href="/user/{{.User.ID}}/pinned"> pinned statuses </a>
|
||||
</div>
|
||||
{{if .IsCurrent}}
|
||||
<div>
|
||||
|
@ -173,6 +174,14 @@
|
|||
<div class="no-data-found">No data found</div>
|
||||
{{end}}
|
||||
|
||||
{{else if eq .Type "pinned"}}
|
||||
<div class="page-title"> Pinned statuses </div>
|
||||
{{range .Statuses}}
|
||||
{{template "status.tmpl" (WithContext . $.Ctx)}}
|
||||
{{else}}
|
||||
<div class="no-data-found">No data found</div>
|
||||
{{end}}
|
||||
|
||||
{{else if eq .Type "bookmarks"}}
|
||||
<div class="page-title"> Bookmarks </div>
|
||||
{{range .Statuses}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue