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

38 lines
962 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 %>
- <%= t(:messages) %>
<% 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">
<%= form_tag({:controller=>'messages', :action=>'ops'})%>
2011-08-02 23:12:17 +02:00
<% #render :partial => 'search' %>
<%= render :partial => 'ops' %>
2011-07-27 20:34:30 +02:00
2011-08-02 23:12:17 +02:00
<%= raw form_button(t(:ops),'tick.png') %>
2011-07-27 20:34:30 +02:00
2011-08-02 23:12:17 +02:00
<% if @current_folder.nil? %>
<h2><%= t(:no_folder_selected) %></h2>
<% else %>
<h2><%= t(:current) %>: <%= pretty_folder_name(@current_folder) %></h2>
<% end %>
2011-07-31 22:45:29 +02:00
2011-08-02 23:12:17 +02:00
<% if @messages.size.zero? %>
<%= t(:no_messages) %>
<% else %>
<%= 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>