mailr/themes/olive/views/messages/index.html.erb

34 lines
914 B
Plaintext
Raw Normal View History

2011-07-29 20:05:47 +02:00
<% content_for :sidebar do %>
<%= render :partial => 'folders/list' %>
<% end %>
<% content_for :title do %>
2011-08-16 20:05:58 +02:00
- <%= t(:messages,:scope=>:message) %>
2011-07-29 20:05:47 +02:00
<% end %>
2011-07-27 20:34:30 +02:00
2011-07-29 20:05:47 +02:00
<div class="block" id="block-tables">
<div class="secondary-navigation">
<%= raw main_navigation(:messages) %>
</div>
<div class="content">
2011-08-16 20:05:58 +02:00
<%= form_tag({:controller=>'messages', :action=>'ops'},{:name=>'messages'})%>
2011-07-27 20:34:30 +02:00
2011-08-02 23:12:17 +02:00
<% if @current_folder.nil? %>
2011-08-16 20:05:58 +02:00
<h2><%= t(:no_selected,:scope=>:folder) %></h2>
2011-08-02 23:12:17 +02:00
<% end %>
2011-07-31 22:45:29 +02:00
2011-08-02 23:12:17 +02:00
<% if @messages.size.zero? %>
2011-08-16 20:05:58 +02:00
<div class="actions-bar wat-cf">
<div class="header_info"><%= t(:no_in,:scope=>:message) %></div>
</div>
2011-08-02 23:12:17 +02:00
<% else %>
2011-08-16 20:05:58 +02:00
<%= render :partial => 'ops' %>
2011-08-02 23:12:17 +02:00
<%= render :partial => 'list' %>
<% end %>
2011-07-31 22:45:29 +02:00
2011-08-02 23:12:17 +02:00
</form>
2011-07-31 22:45:29 +02:00
</div>
</div>