소스 검색

If Unseen and Total is selected in Folder Preference, display the message counts regardless of how many unseen messages there are. This restores the old behavior of showing (0/15) after a folder name.

indiri69 19 년 전
부모
커밋
01410c50f5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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['CummulativeUnreadCount'] :
                             $box['UnreadCount'];
                             $box['UnreadCount'];
             
             
-            if ($unseen > 0) {
+            if ($unseen > 0 || $settings['unreadNotificationDisplayTotal']) {
                 $unseen_str = $unseen;
                 $unseen_str = $unseen;
     
     
                 // Add the total messages if desired
                 // Add the total messages if desired