2 {{template "header.tmpl" (WithContext .HeaderData $.Ctx)}}
3 {{template "navigation.tmpl" (WithContext .NavbarData $.Ctx)}}
4 <div class="page-title"> User </div>
6 <div class="user-info-container">
8 <div class="user-profile-img-container">
9 <a class="img-link" href="{{.User.AvatarStatic}}" target="_blank">
10 <img class="user-profile-img" src="{{.User.AvatarStatic}}" alt="profile-avatar" />
13 <div class="user-profile-details-container">
15 <span class="status-dname"> {{EmojiFilter .User.DisplayName .User.Emojis}} </span>
16 <span class="status-uname"> {{.User.Acct}} </span>
17 <a class="remote-link" href="{{.User.URL}}" target="_blank" title="remote profile">
23 <span> {{if .User.Pleroma.Relationship.FollowedBy}} follows you - {{end}} </span>
24 {{if .User.Pleroma.Relationship.Following}}
25 <form class="d-inline" action="/unfollow/{{.User.ID}}" method="post">
26 <input type="hidden" name="csrf_token" value="{{$.Ctx.CSRFToken}}">
27 <input type="submit" value="unfollow" class="btn-link">
30 <form class="d-inline" action="/follow/{{.User.ID}}" method="post">
31 <input type="hidden" name="csrf_token" value="{{$.Ctx.CSRFToken}}">
32 <input type="submit" value="{{if .User.Pleroma.Relationship.Requested}}resend request{{else}}follow{{end}}" class="btn-link">
35 {{if .User.Pleroma.Relationship.Requested}}
37 <form class="d-inline" action="/unfollow/{{.User.ID}}" method="post">
38 <input type="hidden" name="csrf_token" value="{{$.Ctx.CSRFToken}}">
39 <input type="submit" value="cancel request" class="btn-link">
44 {{if .User.Pleroma.Relationship.Blocking}}
45 <form class="d-inline" action="/unblock/{{.User.ID}}" method="post">
46 <input type="hidden" name="csrf_token" value="{{$.Ctx.CSRFToken}}">
47 <input type="submit" value="unblock" class="btn-link">
50 <form class="d-inline" action="/block/{{.User.ID}}" method="post">
51 <input type="hidden" name="csrf_token" value="{{$.Ctx.CSRFToken}}">
52 <input type="submit" value="block" class="btn-link">
56 {{if .User.Pleroma.Relationship.Muting}}
57 <form class="d-inline" action="/unmute/{{.User.ID}}" method="post">
58 <input type="hidden" name="csrf_token" value="{{$.Ctx.CSRFToken}}">
59 <input type="submit" value="unmute" class="btn-link">
62 <form class="d-inline" action="/mute/{{.User.ID}}" method="post">
63 <input type="hidden" name="csrf_token" value="{{$.Ctx.CSRFToken}}">
64 <input type="submit" value="mute" class="btn-link">
70 <a href="/user/{{.User.ID}}"> statuses ({{.User.StatusesCount}}) </a> -
71 <a href="/user/{{.User.ID}}/following"> following ({{.User.FollowingCount}}) </a> -
72 <a href="/user/{{.User.ID}}/followers"> followers ({{.User.FollowersCount}}) </a> -
73 <a href="/user/{{.User.ID}}/media"> media </a>
76 <a href="/usersearch/{{.User.ID}}"> search statuses </a>
79 <div class="user-profile-decription">
80 {{EmojiFilter .User.Note .User.Emojis}}
86 <div class="page-title"> Statuses </div>
88 {{template "status.tmpl" (WithContext . $.Ctx)}}
91 {{else if eq .Type "following"}}
92 <div class="page-title"> Following </div>
93 {{template "userlist.tmpl" (WithContext .Users $.Ctx)}}
95 {{else if eq .Type "followers"}}
96 <div class="page-title"> Followers </div>
97 {{template "userlist.tmpl" (WithContext .Users $.Ctx)}}
99 {{else if eq .Type "media"}}
100 <div class="page-title"> Statuses with media </div>
102 {{template "status.tmpl" (WithContext . $.Ctx)}}
106 <div class="pagination">
108 <a href="{{.NextLink}}">next</a>
112 {{template "footer.tmpl"}}