mastodon-archive-stats/views/partials/contacts.pug

30 lines
1009 B
Plaintext
Raw Normal View History

2020-07-20 14:40:06 +02:00
fieldset.stats.stats-recievers
2020-07-20 17:00:35 +02:00
h3 You sent messages to these #{outboxStatistics.recievers.length} people
2020-07-20 14:40:06 +02:00
table
thead
tr
th= "search"
2020-07-20 17:00:35 +02:00
th= "cover"
th= "avatar"
2020-07-20 14:40:06 +02:00
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'
2020-07-20 17:00:35 +02:00
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)
2020-07-20 14:40:06 +02:00
td.name
a(href=someone.name)=someone.user.username
td.counter=someone.counter
td.counter=someone.counterContentLength