Skip to content

Commit

Permalink
Show special folders in bold
Browse files Browse the repository at this point in the history
  • Loading branch information
jcameron committed Sep 9, 2023
1 parent 941cd61 commit c1fdad0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mailbox/list_folders.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ foreach my $f (@folders) {
$text{'folders_mbox'});
push(@cols, &nice_size(&folder_size($f)));
}
if ($f->{'inbox'} || $f->{'sent'} || $f->{'drafts'}) {
$cols[0] = "<b>".$cols[0]."</b>";
}

# Action links
my @acts;
Expand Down
3 changes: 3 additions & 0 deletions mailbox/list_ifolders.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ foreach my $f (@folders) {
push(@cols, &nice_size(&folder_size($f)));
$deletable = 1;
}
if ($f->{'inbox'} || $f->{'sent'} || $f->{'drafts'}) {
$cols[0] = "<b>".$cols[0]."</b>";
}

# Action links
my @acts;
Expand Down

0 comments on commit c1fdad0

Please sign in to comment.