0a442022cbf61d645febf7009c1d220d4f86d895
[bloat] / templates / userlist.tmpl
1 {{with .Data}}
2 <div class="user-list-container">
3         {{range .}}
4         <div class="user-list-item">
5                 <div>
6                         <a class="img-link" href="/user/{{.ID}}">
7                                 <img class="status-profile-img" src="{{.AvatarStatic}}" title="{{.Acct}}" alt="avatar" height="48" />
8                         </a>
9                 </div>
10                 <div>
11                         <div class="status-dname"> {{EmojiFilter .DisplayName .Emojis}} </div>  
12                         <a class="img-link" href="/user/{{.ID}}">
13                                 <div class="status-uname"> {{.Acct}} </div>
14                         </a>
15                 </div>
16         </div>
17         {{else}}
18         <div class="no-data-found">No data found</div>
19         {{end}}
20 </div>
21 {{else}}
22 <div class="no-data-found">No data found</div>
23 {{end}}