files.html.haml revision 0af513ab5680818fba780f05ef7cf16e0c0cb0d8
= repository_nav repository, :"Ontology files"
.row
.col-md-6
%p
In this page, you have direct access to the file system where this
repository is stored.
- case @info[:type]
- when :file_base, :file
Below are the contents of the file presented as text as well as its
path relative to the repository home directory. If you want to see the
contents of this file as ontologies, click on the ontology links above
the text box.
- when :dir
Below is the list of files in this repository directory, ranked by the
number of commited changes. In order to find a particular file, you
can navigate through the file system.
.pull-right
= link_to new_repository_file_path(repository, 'upload_file[path]' => params[:path]), class: 'btn btn-link' do
= @info[:type] == :file ? 'Update file' : 'Upload file'
= render partial: 'repositories/breadcrumbs'
- case @info[:type]
- when :file_base_ambiguous
= render partial: 'files_file_base_ambiguous'
- when :file_base, :file
= render partial: 'files_file'
- when :dir
= render partial: 'files_dir'