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-08-16 20:05:58 +02:00
|
|
|
<%= raw form_button_value('logout','tick.png',user_logout_path) %>
|
2011-07-29 20:05:47 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2011-08-27 00:10:45 +02:00
|
|
|
<p>
|
|
|
|
<%= t(:version) %>: Build 20110826
|
|
|
|
</p>
|