1
0
mirror of https://github.com/moparisthebest/mail synced 2024-12-02 05:42:20 -05:00

use uid in read.html

This commit is contained in:
Tankred Hase 2013-08-22 13:51:34 +02:00
parent cb52217529
commit 1f7b4522e4

View File

@ -1,28 +1,28 @@
<div data-role="header" data-position="fixed"> <div data-role="header" data-position="fixed">
<a href="#accounts/<%- account %>/folders/<%- folder %>" data-role="button" data-icon="arrow-l" data-iconpos="left" class="ui-btn-left">Back</a> <a href="#accounts/<%- account %>/folders/<%- folder %>" data-role="button" data-icon="arrow-l" data-iconpos="left" class="ui-btn-left">Back</a>
<h1><%- subject %></h1> <h1><%- subject %></h1>
<a href="#accounts/<%- account %>/folders/<%- folder %>/reply/<%- id %>" data-role="button" data-icon="back" data-iconpos="right" class="ui-btn-right">Reply</a> <a href="#accounts/<%- account %>/folders/<%- folder %>/reply/<%- uid %>" data-role="button" data-icon="back" data-iconpos="right" class="ui-btn-right">Reply</a>
</div><!-- /header --> </div><!-- /header -->
<div data-role="content" id="readViewContent"> <div data-role="content" id="readViewContent">
<ul data-role="listview" data-theme="d" data-divider-theme="d" id="idEmailList" data-mini="true"> <ul data-role="listview" data-theme="d" data-divider-theme="d" id="idEmailList" data-mini="true">
<li style="border: 0px"> <li style="border: 0px">
<h3>from: <%- from[0].name %> &lt;<%- from[0].address %>&gt;</h3> <h3>from: <%- from[0].name %> &lt;<%- from[0].address %>&gt;</h3>
<p>to: <p>to:
<% _.each(to, function(o) { %> <% _.each(to, function(o) { %>
<%- o.name %> &lt;<%- o.address %>&gt; <%- o.name %> &lt;<%- o.address %>&gt;
<% }); %> <% }); %>
</p> </p>
</li> </li>
<li> <li>
<h3 id="idMailSubject"><%- subject %></h3> <h3 id="idMailSubject"><%- subject %></h3>
<p id="idMailDate"><%- sentDate %></p> <p id="idMailDate"><%- sentDate %></p>
</li> </li>
<li id="bodyItem"> <li id="bodyItem">
<div id="mailContentDiv"> <div id="mailContentDiv">
<iframe src="mail-content.html" sandbox="allow-scripts" id="mailContentFrame" frameborder="0"></iframe> <iframe src="mail-content.html" sandbox="allow-scripts" id="mailContentFrame" frameborder="0"></iframe>
</div> </div>
</li> </li>