aboutsummaryrefslogtreecommitdiff
path: root/templates/userlistitem.tmpl
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2022-02-11 11:18:02 +0000
committerr <r@freesoftwareextremist.com>2022-02-11 11:49:23 +0000
commitc390a0c32720f6afe852bc7a3a3f64c3afe9e401 (patch)
tree57ac4a30f8fe45edf0369eaa4c5609ffb74315eb /templates/userlistitem.tmpl
parentc2f237e9019a4fb31cd7d969bf59670c144592c8 (diff)
downloadbloat-c390a0c32720f6afe852bc7a3a3f64c3afe9e401.tar.gz
bloat-c390a0c32720f6afe852bc7a3a3f64c3afe9e401.zip
Add lists
Diffstat (limited to 'templates/userlistitem.tmpl')
-rw-r--r--templates/userlistitem.tmpl15
1 files changed, 15 insertions, 0 deletions
diff --git a/templates/userlistitem.tmpl b/templates/userlistitem.tmpl
new file mode 100644
index 0000000..51261c8
--- /dev/null
+++ b/templates/userlistitem.tmpl
@@ -0,0 +1,15 @@
+{{with .Data}}
+<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>
+{{end}}