index_repository.html.haml revision ea882c814a23a8acf059ae9e0e49e7a35ddba148
= repository_nav parent, :ontologies
- if can?(:edit, parent) and parent.ontologies.count > 0
.row
.col-md-12
= render 'states'
.row
.col-md-6
%p
This repository contains
= pluralize @count, 'ontology'
ranked according to the number of comitted changes.
You can search for a particular #{Settings.OMS} by filtering the list using the
#{Settings.OMS} name, the logic name, or the name of logical symbols such as
classes, individuals, and properties.
.clearfix
.col-md-8
.pull-right
= link_to 'Upload an ontology file', new_repository_file_path(parent, 'upload_file[path]' => params[:path]), class: 'btn btn-link' if can? :write, repository
.clearfix
#OntologySearch{pagination: 'paginated', role: 'filter'}