mailr/themes/olive/views/folders/_list.html.erb
Wojciech Todryk b9561278d0 devel
2011-08-24 19:20:13 +02:00

21 lines
690 B
Plaintext
Executable file

<div class="block">
<h3><%=t(:folders,:scope=>:folder) %> <%= link_to t(:refresh), folders_refresh_status_path, :class=>'minor' %></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 form_button_value('logout','tick.png',user_logout_path) %>
</div>
</div>