فهرست منبع

Don't display counts for boxes that can't be selected. Also fixes bug of not displaying message count when no unread messages are found, but the count of all folders is desired.

stevetruckstuff 19 سال پیش
والد
کامیت
dec760e8f5
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      templates/default_advanced/left_main.tpl

+ 1 - 1
templates/default_advanced/left_main.tpl

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