aboutsummaryrefslogtreecommitdiff
path: root/templates/userlist.tmpl
blob: b8e0e5db3f19698f295a3541d02cd8bcd48e4083 (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="{{.Avatar}}" title="@{{.Acct}}" alt="avatar" height="48" />
			</a>
		</div>
		<div class="user-list-name">
			<div class="status-dname"> {{EmojiFilter (html .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}}