mailr/themes/olive/views/folders/_list.html.erb
Wojciech Todryk da8d0e4389 devel
2011-09-09 23:44:51 +02:00

21 lines
631 B
Plaintext
Executable file

<div class="block">
<h3><%=t(:folders,:scope=>:folder) %></h3>
<div class="content">
<% if @folders_shown.nil? or @folders_shown.size.zero? %>
<p><%= t(:no_shown,:scope=>:folder) %> <%= link_to t(:folders,:scope=>:folder), folders_path %></p>
<% else %>
<ul class="navigation folders">
<% @folders_shown.each do |folder| -%>
<% if folder == @current_folder %>
<li class="selected"><%= raw folder_link(folder) %></li>
<% else %>
<li><%= raw folder_link(folder) %></li>
<% end %>
<% end -%>
</ul>
<% end %>
<br/>
<%= raw single_action_onclick('logout','common','power.png',user_logout_path) %>
</div>
</div>