_show_dir.html.haml revision ccb3ac32fa3dfc64262b8add551e99d5b23eb937
%table.table.table-condensed.table-hover.file-table#directory-listing
%tbody
%tr#repository_directories_form_line_prototype
%td
%td{colspan: 3}
= render partial: 'repository_directories/form', locals: { resource: new_repository_directory }
%tr#repository_directories_line_prototype
%td
%td{colspan: 3}
%a
- if resource.content.empty?
%tr#empty_repository_hint
%td{colspan: 5} This directory is empty.
- resource.grouped_content.each do |name, entries|
- entries.each_with_index do |entry, i|
%tr{"data-id" => entry.index}
- if i == 0
%td.ontology{rowspan: entries.size}
- unless entry.dir? || entry.ontologies.empty?
- entry.ontologies.each do |ontology|
= fancy_link ontology
- if ontology.state=='failed'
%i.icon-bolt{ title: "processing #{ontology.state}" }
- if entry.dir?
- else
- if entry.ontologies.empty?
- else
= link_to entry.name.force_encoding('UTF-8'), fancy_repository_path(repository, path: entry.path, ref: oid)
%a.close{data: {dismiss: 'alert'}} ×