source: trunk/prototype/modules/mail/templates/emailBox.ejs @ 6650

Revision 6650, 530 bytes checked in by gustavo, 12 years ago (diff)

Ticket #2911 - Atualizar listagem de contatos automaticamente, sem necessidade de Refresh

  • Property svn:executable set to *
Line 
1<div class="box <%= (!data.valid ? "invalid-email-box" : "") %> ui-corner-all" tabindex="0">
2        <span class="email-box-value" style="padding: 5px;">
3                <%
4                        var presentation = (data.name != "" ? data.name : data.email);
5                        var input_value = "&quot;"+data.name+"&quot; <"+data.email+">";
6                %>
7                <%=
8                        (presentation.length > 18 ? presentation.substring(0, 15)+"..." : presentation)
9                %>
10        </span>
11        <input class="box-input" value="<%= input_value %>"></input>
12        <span class="box-loading">&nbsp;&nbsp;&nbsp;</span>
13</div>
Note: See TracBrowser for help on using the repository browser.