aboutsummaryrefslogtreecommitdiff
path: root/templates/userlist.tmpl
blob: b4e8cd05955c883ecbe7173745cf6ea147cbf970 (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}}" title="{{.Acct}}" 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}}