mailr/themes/olive/views/folders/_list.html.erb
Wojciech Todryk 66cba6bbc7 view fixes
2011-09-18 21:18:52 +02:00

21 lines
629 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','user','power.png',user_logout_path) %>
</div>
</div>