8 Commits

Author SHA1 Message Date
7c900c46d4 Merge branch 'develop' into release 2023-06-12 21:15:53 -04:00
8870b6ddad v1.2.3 2022-12-01 15:38:18 -03:00
5f0679221e v1.2.2 2022-12-01 14:40:27 -03:00
375b922537 v1.2.1 2022-12-01 14:17:05 -03:00
c400020425 v1.2.0 2022-11-30 20:54:24 -03:00
a76ab77757 v1.1.1 2022-11-30 11:48:55 -03:00
db95b12985 v1.1.0 2022-11-30 10:42:48 -03:00
8648f5a62e v1.0.0 2022-11-29 11:12:35 -03:00

View File

@ -48,20 +48,14 @@
this.draw().empty()
return
}
const list = $('<div></div>').addClass('ui selection divided list')
const list = $('<div></div>').addClass('ui list')
this.mailboxes.forEach(mb => {
let count = ''
if (typeof mb.last_checked !== 'undefined') {
count = ' (<i class="envelope outline icon"></i>' + mb.last_checked.count + ')'
count = ' (' + mb.last_checked.count + ')'
}
list.append(
$('<div></div>').addClass('item').append(
$('<i></i>').addClass('inbox icon')
).append(
$('<div></div>').addClass('content').append(
$('<a></a>').addClass('header').attr('href', '{{$urls->base}}/emails/mailbox/' + mb.id).html(mb.name).append(count)
)
)
$('<a></a>').addClass('item').attr('href', '{{$urls->base}}/emails/mailbox/' + mb.id).html(mb.name + count)
)
})
parent.append(list)