2011-07-29 20:05:47 +02:00
|
|
|
<% content_for :sidebar do %>
|
2011-09-09 22:10:25 +02:00
|
|
|
<%= content_for_sidebar %>
|
2011-07-29 20:05:47 +02:00
|
|
|
<% 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">
|
2011-09-09 22:10:25 +02:00
|
|
|
<%= raw main_navigation(:messages_tab) %>
|
2011-07-29 20:05:47 +02:00
|
|
|
</div>
|
|
|
|
<div class="content">
|
2011-09-05 19:08:22 +02:00
|
|
|
<%= form_tag({:controller=>'messages_ops', :action=>'multi'},{: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-09-05 19:08:22 +02:00
|
|
|
<%= render :partial => 'multi_ops' %>
|
2011-09-09 22:10:25 +02:00
|
|
|
<%= render :partial => 'messages' %>
|
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
|
|
|
</form>
|
2011-07-31 22:45:29 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|