Ignore:
Timestamp:
07/11/12 17:39:49 (12 years ago)
Author:
gustavo
Message:

Ticket #2953 - Melhorar a disposição da listagem de anexos no expressoMail

Location:
sandbox/2.4.2-expresso2/prototype/modules/mail/templates
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sandbox/2.4.2-expresso2/prototype/modules/mail/templates/attachment_add_itemlist.ejs

    r6752 r6760  
    1 <div class="att-box ui-corner-all <%= (data.file.error != '' ? 'invalid-email-box' : '') %>" tabindex="0"> 
     1<div class="att-box ui-corner-all <%= (typeof(data.file.error) != 'boolean' ? 'invalid-email-box' : '') %>"> 
    22        <span class="att-box-value" style="padding: 5px;"><%=data.file.fileName%>&nbsp;<b>(<%=data.file.fileSize%>)</b></span> 
    3         <% if(data.file.error == ''){ %> 
     3    <span class="att-box-fullfilename" style="display:none;"><%=data.file.fullFileName%></span> 
     4    <span class="att-box-filesize" style="display:none;"><%=data.file.fileSize%></span> 
     5        <% if(typeof(data.file.error) == 'boolean'){ %> 
    46        <span class="att-box-loading">&nbsp;&nbsp;&nbsp;&nbsp;</span> 
    57        <% } %> 
  • sandbox/2.4.2-expresso2/prototype/modules/mail/templates/attachment_add_itemlist_tooltip.ejs

    r6752 r6760  
    1111<span style="display:inline-block;"> 
    1212        <b>Status: </b> 
    13         <%=(data.attach.error == "" ? "Success " : data.attach.error)%> 
    14  
     13        <%if(typeof(data.attach.error) == "boolean"){%> 
     14        <%=(data.attach.error ? "Loading... " : "Success")%> 
     15    <%}else{%> 
     16        <%=data.attach.error%> 
     17    <%}%> 
    1518</span> 
    16 <% if(data.attach.error == ''){ %> 
    17  
    18 <span style="display:inline-block;" class="ui-icon <%=(data.attach.error == ''? 'ui-icon-check' : 'ui-icon-close')%>"></span> 
    19 <% } %> 
Note: See TracChangeset for help on using the changeset viewer.