[Tickets #12687] Smartmobile: Handle answered/forwarded flags

noreply at bugs.horde.org noreply at bugs.horde.org
Mon Sep 16 16:19:34 UTC 2013


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/12687
------------------------------------------------------------------------------
  Ticket             | 12687
  Created By         | delrio at mie.utoronto.ca
  Summary            | Smartmobile: Handle answered/forwarded flags
  Queue              | IMP
  Version            | 6.1.4
  Type               | Enhancement
  State              | New
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


delrio at mie.utoronto.ca (2013-09-16 16:19) wrote:

In Smartmobile mode, answered or forwarded emails can't be  
distinguished from Seen/Unseen emails.

In Basic/Dynamic modes, answered/forwarded emails are displayed with  
different background color and with arrow icons.

A simple solution could be to display answered/forwarded emails with a  
different font style.
For example, the following code displays the subject of answered  
emails in italics:

--- imp/themes/default/smartmobile/screen.css.orig      Wed Jul 17  
09:36:40 2013
+++ imp/themes/default/smartmobile/screen.css   Wed Sep 11 16:39:37 2013
@@ -30,6 +30,10 @@
  .imp-mailbox-seen a {
      font-weight: normal;
  }
+.imp-mailbox-answered a {
+    font-weight: normal;
+    font-style:italic;
+}

  .divSwipe a {
      font-weight: bold;

--- imp/js/smartmobile.js.orig  Wed Jul 17 09:36:33 2013
+++ imp/js/smartmobile.js       Wed Sep 11 16:38:12 2013
@@ -553,6 +553,10 @@
                      case IMP.conf.flags.seen:
                          c.addClass('imp-mailbox-seen');
                          break;
+
+                    case IMP.conf.flags.answered:
+                        c.addClass('imp-mailbox-answered');
+                        break;
                      }
                  });
              }

--- imp/lib/Smartmobile.php.orig        Wed Jul 17 09:36:34 2013
+++ imp/lib/Smartmobile.php     Wed Sep 11 16:40:43 2013
@@ -161,6 +161,7 @@
                  'flags' => array(
                      'deleted' => '\\deleted',
                      'draft' => '\\draft',
+                    'answered' => '\\answered',
                      'seen' => '\\seen'
                  ),
                  'mailbox_return' => $prefs->getValue('mailbox_return'),






More information about the bugs mailing list