aboutsummaryrefslogtreecommitdiff
path: root/templates/userlist.tmpl
blob: 0a83bf4960d6eaa90c15d4df421cb1128dfb2238 (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>
	{{range .}}
	<div class="user-list-item">
		<div class="user-list-profile-img">
			<a class="img-link" href="/user/{{.ID}}">
				<img class="status-profile-img" src="{{.AvatarStatic}}" title="@{{.Acct}}" alt="avatar" height="48" />
			</a>
		</div>
		<div class="user-list-name">
			<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}}