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

21 lines
704 B
Plaintext
Raw Normal View History

2011-07-29 20:05:47 +02:00
<div class="block">
2011-08-24 19:20:13 +02:00
<h3><%=t(:folders,:scope=>:folder) %> <%= link_to t(:refresh), folders_refresh_status_path, :class=>'minor' %></h3>
2011-07-29 20:05:47 +02:00
<div class="content">
2011-08-24 19:20:13 +02:00
<% if @folders_shown.nil? or @folders_shown.size.zero? %>
<p><%= t(:no_shown,:scope=>:folder) %> <%= link_to t(:folders,:scope=>:folder), folders_path %></p>
2011-07-31 22:45:29 +02:00
<% else %>
2011-08-16 20:05:58 +02:00
<ul class="navigation folders">
2011-07-31 22:45:29 +02:00
<% @folders_shown.each do |folder| -%>
<% if folder == @current_folder %>
2011-08-16 20:05:58 +02:00
<li class="selected"><%= raw folder_link(folder) %></li>
2011-07-31 22:45:29 +02:00
<% 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/>
2011-09-09 22:10:25 +02:00
<%= raw single_action_onclick('logout','common','power.png',user_logout_path) %>
2011-07-29 20:05:47 +02:00
</div>
</div>