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') { %> <% content_for('sidebar') { %>
<div id="folders"> <div id="folders">
<h4><%=_('Folders')%><br/><%=link_manage_folders%></h4>
<hr/>
<%=_('Error occured obtaining connection to mail server. Please excuse us!')%> <%=_('Error occured obtaining connection to mail server. Please excuse us!')%>
</div> </div>
<% } %> <% } %>

View file

@ -16,17 +16,11 @@
<div id="tab_content"> <div id="tab_content">
<% content_for('sidebar') { %> <% content_for('sidebar') { %>
<div id="folders"> <%= render :partial => 'shared' %>
<h4><%=_('Folders')%><br/><%=link_manage_folders%></h4>
<hr/>
<ul> <% for folder in @folders %>
<li><%=folder_link(folder)%></li> <% end %>
</ul>
</div>
<% } %> <% } %>
<div id="messages"> <div id="messages">
<% if not(@request['msg_id'] == '') %> <% if not(request['msg_id'] == '') %>
<%= render_component(:controller => "webmail/webmail", :action => "message", :params => { 'msg_id' => @request['msg_id']})%> <%= render_component(:controller => "webmail/webmail", :action => "message", :params => { 'msg_id' => request['msg_id']})%>
<% else %> <% else %>
<%= render_component(:controller => "webmail/webmail", :action => "messages") %> <%= render_component(:controller => "webmail/webmail", :action => "messages") %>
<% end %> <% end %>

View file

@ -16,13 +16,7 @@
<div id="tab_content"> <div id="tab_content">
<% content_for('sidebar') { %> <% content_for('sidebar') { %>
<div id="folders"> <%= render :partial => 'shared/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"> <div id="messages">