source: sandbox/2.4.1-3/prototype/modules/mail/templates/emailBox.ejs @ 6334

Revision 6334, 462 bytes checked in by gustavo, 12 years ago (diff)

Ticket #2768 - Melhorias na criação de mensagens

  • Property svn:executable set to *
Line 
1<div class="box <%= (!data.valid ? "invalid-email-box" : "") %>" 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</div>
Note: See TracBrowser for help on using the repository browser.