aboutsummaryrefslogtreecommitdiff
path: root/templates/userlist.tmpl
blob: 426bffc3e89a306ad86d8136c493a4df4b8a6eb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{{with .Data}}
<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}}" alt="avatar" />
			</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>
	{{else}}
	<div class="no-data-found">No data found</div>
	{{end}}
</div>
{{else}}
<div class="no-data-found">No data found</div>
{{end}}