Ignore:
Timestamp:
Jan 6, 2012 8:40:37 AM (17 months ago)
Author:
thomasb
Message:

Display short headers in preview mode, with toggle to show all

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/skins/larry/templates/messagepreview.html

    r5694 r5734  
    99<div id="messagepreviewheader"> 
    1010<h3 class="subject"><roundcube:object name="messageHeaders" valueOf="subject" /></h3> 
    11 <roundcube:object name="messageHeaders" class="headers-table" addicon="/images/addcontact.png" exclude="subject,replyto" /> 
     11 
     12<table class="headers-table" id="preview-shortheaders"><tbody><tr> 
     13<roundcube:if condition="env:mailbox == config:drafts_mbox || env:mailbox == config:sent_mbox"> 
     14        <td class="header-title"><roundcube:label name="to" /></td> 
     15        <td class="header from"><roundcube:object name="messageHeaders" valueOf="to" addicon="/images/addcontact.png" /></td> 
     16<roundcube:else /> 
     17        <td class="header-title"><roundcube:label name="from" /></td> 
     18        <td class="header from"><roundcube:object name="messageHeaders" valueOf="from" addicon="/images/addcontact.png" /></td> 
     19<roundcube:endif /> 
     20        <td class="header-title"><roundcube:label name="date" /></td> 
     21        <td class="header from"><roundcube:object name="messageHeaders" valueOf="date" /></td> 
     22        <td class="header"><a href="#details" id="previewheaderstoggle" class="iconlink add">Details</a> 
     23</tr></tbody></table> 
     24 
     25<roundcube:object name="messageHeaders" id="preview-allheaders" class="headers-table" addicon="/images/addcontact.png" exclude="subject,replyto" /> 
    1226 
    1327<!-- record navigation --> 
Note: See TracChangeset for help on using the changeset viewer.