mailr/app/views/webmail/folders.rhtml

36 lines
924 B
Plaintext
Raw Normal View History

<h1><%=_('Mailbox')%></h1>
<div id="header">
<ul id="primary">
<li><span><%= _('Folders') %></span>
<ul id="secondary">
<li><%=link_refresh%></li>
</ul>
</li>
<li><%=link_send_mail%></li>
<li><%=link_mail_prefs%></li>
<li><%=link_mail_filters%></li>
<li><%=link_main%></li>
</ul>
</div>
<div id="tab_main">
<div id="tab_content">
<% content_for('sidebar') { %>
<div id="folders">
<h4><%=_('Folders')%><br/><%=link_manage_folders%></h4>
<hr/>
<ul> <% for folder in @folders %>
<li><%=folder_link(folder)%></li> <% end %>
</ul>
</div>
<% } %>
<div id="messages">
<% if not(@request['msg_id'] == '') %>
<%= render_component(:controller => "webmail/webmail", :action => "message", :params => { 'msg_id' => @request['msg_id']})%>
<% else %>
<%= render_component(:controller => "webmail/webmail", :action => "messages") %>
<% end %>
</div>
</div></div>