_ontology.html.haml revision 81da36894af70bbb8d8e24b004026ad4c5c1bc99
252N/A%li
252N/A %ul.stats
252N/A - if ontology.distributed?
252N/A %li distributed
252N/A %li= link_to pluralize(ontology.children.count, Settings.OMS.capitalize), [ontology, :children]
252N/A - elsif ontology.logic
252N/A %li= link_to ontology.logic.to_s, ontology.logic
252N/A - if ontology.language
252N/A %li= ontology.language
252N/A
252N/A - if ontology.symbols_count
252N/A %li= link_to pluralize(ontology.symbols_count, 'Symbol'), [ontology, :symbols]
252N/A %li= link_to pluralize(ontology.sentences_count, 'Sentence'), [ontology, :sentences]
252N/A
252N/A - else
252N/A - if admin? || ontology.ontology_version.pusher == current_user
252N/A %li= ontology.state
252N/A - else
252N/A %li= ontology.active_version.state
252N/A
252N/A %h3= link_to highlight(ontology.to_s, @search), [ontology.repository, ontology]
252N/A
252N/A %p= highlight(ontology.iri.to_s, @search)
252N/A