mailr/themes/olive/views/folders/_list.html.erb

21 lines
626 B
Plaintext
Raw Normal View History

2011-07-29 20:05:47 +02:00
<div class="block">
<h3><%=t (:folders) %> <%= link_to t(:refresh), {:controller => 'messages', :action => 'refresh'}, :class=>'minor' %></h3>
<div class="content">
2011-07-31 22:45:29 +02:00
<% if @folders_shown.size.zero? %>
<p><%= t(:no_folders_shown) %></p>
<% else %>
2011-07-29 20:05:47 +02:00
<ul class="navigation">
2011-07-31 22:45:29 +02:00
<% @folders_shown.each do |folder| -%>
<% if folder == @current_folder %>
<li><b><%= raw folder_link(folder) %></b></li>
<% else %>
2011-07-29 20:05:47 +02:00
<li><%= raw folder_link(folder) %></li>
2011-07-31 22:45:29 +02:00
<% end %>
2011-07-29 20:05:47 +02:00
<% end -%>
</ul>
2011-07-31 22:45:29 +02:00
<% end %>
2011-07-29 20:05:47 +02:00
<br/>
<%= raw form_button_value(t(:logout),'tick.png',url_for(:controller => :user, :action => :logout)) %>
</div>
</div>