Explorar o código

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 %!s(int64=19) %!d(string=hai) anos
pai
achega
01410c50f5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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) {
+            if ($unseen > 0 || $settings['unreadNotificationDisplayTotal']) {
                 $unseen_str = $unseen;
     
                 // Add the total messages if desired