9 Commits

Author SHA1 Message Date
f661c02fab Merge branch 'release' 2023-06-12 21:19:00 -04:00
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() this.draw().empty()
return return
} }
const list = $('<div></div>').addClass('ui selection divided list') const list = $('<div></div>').addClass('ui list')
this.mailboxes.forEach(mb => { this.mailboxes.forEach(mb => {
let count = '' let count = ''
if (typeof mb.last_checked !== 'undefined') { if (typeof mb.last_checked !== 'undefined') {
count = ' (<i class="envelope outline icon"></i>' + mb.last_checked.count + ')' count = ' (' + mb.last_checked.count + ')'
} }
list.append( list.append(
$('<div></div>').addClass('item').append( $('<a></a>').addClass('item').attr('href', '{{$urls->base}}/emails/mailbox/' + mb.id).html(mb.name + count)
$('<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)
)
)
) )
}) })
parent.append(list) parent.append(list)