_files_dir.html.haml revision 8ec575832389c2588f0b5ca1f1dd2cc42d62eb12
- if @info[:entries].empty?
.muted
This folder is empty
- else
%table.table.table-condensed.table-hover.file-table{'data-id' => @repository.path, 'data-path' => @path, 'data-oid' => @oid, 'data-ajax-path' => fancy_repository_path(@repository, path: @path, oid: @oid, action: :entries_info)}
%tbody
- @info[:entries].each_with_index do |entry, i|
%tr{"data-id" => i}
%td.icon
- if entry[:type] == :dir
%i.icon-folder-close
- else
%i.icon-file
%td.name
= link_to entry[:name].force_encoding('UTF-8'), fancy_repository_path(@repository, path: basepath(entry[:path]), oid: @oid) #FIXME force_encoding is needed due to errors in rugged
%td.last-commit.muted
%td.last-modified.muted