message view bugfix
This commit is contained in:
parent
5264cf12ab
commit
5bd2ac5197
|
@ -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>
|
||||
<% } %>
|
||||
|
|
|
@ -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 %>
|
||||
|
|
|
@ -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">
|
||||
|
||||
|
|
Loading…
Reference in a new issue