Changeset 3143 in subversion


Ignore:
Timestamp:
Nov 30, 2009 5:54:20 AM (3 years ago)
Author:
alec
Message:
  • "expand unread" button
Location:
branches/devel-threads
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • branches/devel-threads/THREADS

    r3142 r3143  
    1111    - use underlined subject for root with unread children (icon is still supported) 
    1212    - on deleting messages the whole list isn't refreshed 
     13    - added 'expand unread' button 
    1314 
    1415CHANGES IN RELATION TO TRUNK (for pasting into CHANGELOG after merge) 
     
    2021 
    2122TODO (must have): 
    22     - threads caching, 
    23     - "Expand All Unread" button 
     23    - threads caching 
    2424TODO (other): 
    2525    - performance: fetching all messages for list in "expand all" state only, 
  • branches/devel-threads/program/js/app.js

    r3142 r3143  
    247247        if (this.env.messagecount) { 
    248248          this.enable_command('select-all', 'select-none', 'expunge', true); 
    249           this.enable_command('expand-all', 'collapse-all', this.env.threading); 
     249          this.enable_command('expand-all', 'expand-unread', 'collapse-all', this.env.threading); 
    250250        } 
    251251 
     
    45554555          this.enable_command('show', 'reply', 'reply-all', 'forward', 'moveto', 'delete',  
    45564556            'mark', 'viewsource', 'open', 'edit', 'download', 'print', 'load-attachment',  
    4557             'purge', 'expunge', 'select-all', 'select-none', 'sort', 'expand-all', 
    4558             'collapse-all', false); 
     4557            'purge', 'expunge', 'select-all', 'select-none', 'sort', 
     4558            'expand-all', 'expand-unread', 'collapse-all', false); 
    45594559        } 
    45604560        break; 
     
    45724572          this.enable_command('purge', this.purge_mailbox_test()); 
    45734573          
    4574           this.enable_command('expand-all', 'collapse-all', this.env.threading && this.env.messagecount); 
     4574          this.enable_command('expand-all', 'expand-unread', 'collapse-all', this.env.threading && this.env.messagecount); 
    45754575 
    45764576          if (response.action == 'list') 
  • branches/devel-threads/program/localization/en_US/labels.inc

    r3125 r3143  
    158158$labels['threads'] = 'Threads'; 
    159159$labels['expand-all'] = 'Expand All'; 
     160$labels['expand-unread'] = 'Expand Unread'; 
    160161$labels['collapse-all'] = 'Collapse All'; 
    161162 
  • branches/devel-threads/skins/default/mail.css

    r3136 r3143  
    644644} 
    645645 
     646#listcontrols a.expand-unread { 
     647  background-position: -120px 0; 
     648} 
     649 
     650#listcontrols a.expand-unreadsel { 
     651  background-position: -120px -15px; 
     652} 
     653 
    646654#countcontrols 
    647655{ 
  • branches/devel-threads/skins/default/templates/mail.html

    r3137 r3143  
    8787      <span style="margin-left: 20px"><roundcube:label name="threads" />:&nbsp;</span> 
    8888      <roundcube:button command="expand-all" type="link" title="expand-all" class="buttonPas expand-all" classAct="button expand-all" classSel="button expand-allsel" content=" "  /> 
     89      <roundcube:button command="expand-unread" type="link" title="expand-unread" class="buttonPas expand-unread" classAct="button expand-unread" classSel="button expand-unreadsel" content=" " /> 
    8990      <roundcube:button command="collapse-all" type="link" title="collapse-all" class="buttonPas collapse-all" classAct="button collapse-all" classSel="button collapse-allsel" content=" " /> 
    9091      <roundcube:container name="listcontrols" id="listcontrols" /> 
Note: See TracChangeset for help on using the changeset viewer.