mastodon-archive-stats/views/partials/contacts.pug
2020-07-20 17:00:35 +02:00

30 lines
1009 B
Plaintext

fieldset.stats.stats-recievers
h3 You sent messages to these #{outboxStatistics.recievers.length} people
table
thead
tr
th= "search"
th= "cover"
th= "avatar"
th= "name"
th= "times"
th= "toots lengh sum"
tbody
each someone in outboxStatistics.recievers
tr
td.search
a(href= 'https://duckduckgo.com/?q='+someone.user.username)
='search'
td.cover
if(someone.infos && someone.infos.image)
a(href=someone.infos.image.url)
img(src=someone.infos.image.url)
td.avatar
if(someone.infos && someone.infos.icon)
a(href=someone.infos.icon.url)
img(src=someone.infos.icon.url)
td.name
a(href=someone.name)=someone.user.username
td.counter=someone.counter
td.counter=someone.counterContentLength