2012-03-24 13:23:34 +01:00
|
|
|
.well{:style=>"padding: 8px 3pt;"}
|
|
|
|
- if @folders_shown.nil? or @folders_shown.size.zero?
|
|
|
|
%p
|
|
|
|
= t(:no_shown,:scope=>:folder)
|
|
|
|
= link_to t(:folders,:scope=>:folder), folders_path
|
|
|
|
- else
|
|
|
|
%ul{:class=>"nav nav-list"}
|
|
|
|
%li{:class=>"nav-header"}
|
|
|
|
=t(:folders,:scope=>:folder)
|
|
|
|
- @folders_shown.each do |folder|
|
|
|
|
- if folder == @current_folder
|
|
|
|
%li{:class=>"active"}
|
2012-03-24 18:09:31 +01:00
|
|
|
= folder_link(:folder=>folder,:active=>true)
|
2012-03-24 13:23:34 +01:00
|
|
|
- else
|
|
|
|
%li
|
2012-03-24 18:09:31 +01:00
|
|
|
= folder_link(:folder=>folder,:active=>false)
|