mailr/themes/olive/views/messages/index.html.erb
Wojciech Todryk 7879dd49a2 devel
2011-09-09 22:10:25 +02:00

34 lines
920 B
Plaintext
Executable file

<% content_for :sidebar do %>
<%= content_for_sidebar %>
<% end %>
<% content_for :title do %>
- <%= t(:messages,:scope=>:message) %>
<% end %>
<div class="block" id="block-tables">
<div class="secondary-navigation">
<%= raw main_navigation(:messages_tab) %>
</div>
<div class="content">
<%= form_tag({:controller=>'messages_ops', :action=>'multi'},{:name=>'messages'})%>
<% if @current_folder.nil? %>
<h2><%= t(:no_selected,:scope=>:folder) %></h2>
<% end %>
<% if @messages.size.zero? %>
<div class="actions-bar wat-cf">
<div class="header_info"><%= t(:no_in,:scope=>:message) %></div>
</div>
<% else %>
<%= render :partial => 'multi_ops' %>
<%= render :partial => 'messages' %>
<% end %>
</form>
</div>
</div>