message view bugfix

This commit is contained in:
Eugene Korbut 2009-02-08 07:44:42 +10:00
parent 5264cf12ab
commit 5bd2ac5197
3 changed files with 4 additions and 18 deletions

View file

@ -17,8 +17,6 @@
<% content_for('sidebar') { %>
<div id="folders">
<h4><%=_('Folders')%><br/><%=link_manage_folders%></h4>
<hr/>
<%=_('Error occured obtaining connection to mail server. Please excuse us!')%>
</div>
<% } %>

View file

@ -16,17 +16,11 @@
<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>
<%= render :partial => 'shared' %>
<% } %>
<div id="messages">
<% if not(@request['msg_id'] == '') %>
<%= render_component(:controller => "webmail/webmail", :action => "message", :params => { 'msg_id' => @request['msg_id']})%>
<% 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 %>

View file

@ -16,13 +16,7 @@
<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>
<%= render :partial => 'shared/folders' %>
<% } %>
<div id="messages">