index_repository.html.haml revision 492757fbefce7e6aee4a7515983a44d19a542ccc
= 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, Settings.OMS
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 ' + Settings.OMS.with_indefinite_article + ' file', new_repository_file_path(parent, 'upload_file[path]' => params[:path]), class: 'btn btn-link' if can? :write, repository
.clearfix
= render 'ontology_search_response'