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