Bladeren bron

Don't display counts for boxes that can't be selected.

indiri69 19 jaren geleden
bovenliggende
commit
5e8b55d411
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      templates/default/left_main.tpl

+ 1 - 1
templates/default/left_main.tpl

@@ -103,7 +103,7 @@ function buildMailboxTree ($box, $settings, $indent_factor=0) {
                             $box['CummulativeUnreadCount'] :
                             $box['UnreadCount'];
             
-            if ($unseen > 0 || $settings['unreadNotificationDisplayTotal']) {
+            if (!$box['IsNoSelect'] && ($unseen > 0 || $settings['unreadNotificationDisplayTotal'])) {
                 $unseen_str = $unseen;
     
                 // Add the total messages if desired