fixed display bug

This commit is contained in:
Tankred Hase 2013-04-29 13:39:06 +02:00
parent e10759f7f4
commit 2259ac753e
2 changed files with 7 additions and 3 deletions

View File

@ -1,5 +1,5 @@
<a href="#accounts/<%- account %>/folders/<%- folder %>/read/<%- id %>">
<h3><%- from %></h3>
<h3><%- from[0].name %></h3>
<p><strong><%- subject %></strong></p>
<!-- <p><%- body %></p> -->
<p class="ui-li-aside"><strong><%- displayDate %></strong></p>

View File

@ -8,8 +8,12 @@
<ul data-role="listview" data-theme="d" data-divider-theme="d" id="idEmailList" data-mini="true">
<li style="border: 0px">
<h3>from: <%- from %></h3>
<p>to: <%- to %></p>
<h3>from: <%- from[0].name %> &lt;<%- from[0].address %>&gt;</h3>
<p>to:
<% _.each(to, function(o) { %>
<%- o.name %> &lt;<%- o.address %>&gt;
<% }); %>
</p>
</li>
<li>