20 lines
631 B
Plaintext
Executable file
20 lines
631 B
Plaintext
Executable file
<div class="block">
|
|
<h3><%=t(:folders,:scope=>:folder) %></h3>
|
|
<div class="content clearfix">
|
|
<% 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 %>
|
|
<%= raw single_action_onclick('logout','user','power.png',user_logout_path) %>
|
|
</div>
|
|
</div>
|