bloat/templates/userlist.tmpl

24 lines
608 B
Cheetah
Raw Normal View History

2020-01-14 18:57:16 +02:00
{{with .Data}}
2019-12-26 11:11:24 +02:00
<div class="user-list-container">
{{range .}}
<div class="user-list-item">
<div>
<a class="img-link" href="/user/{{.ID}}">
<img class="status-profile-img" src="{{.AvatarStatic}}" title="{{.Acct}}" alt="avatar" height="48" />
2019-12-26 11:11:24 +02:00
</a>
</div>
<div>
<div class="status-dname"> {{EmojiFilter .DisplayName .Emojis}} </div>
<a class="img-link" href="/user/{{.ID}}">
<div class="status-uname"> {{.Acct}} </div>
</a>
</div>
</div>
2020-07-28 17:01:32 +03:00
{{else}}
<div class="no-data-found">No data found</div>
2019-12-26 11:11:24 +02:00
{{end}}
</div>
2020-07-28 17:01:32 +03:00
{{else}}
<div class="no-data-found">No data found</div>
2020-01-14 18:57:16 +02:00
{{end}}