_info.html.haml revision 268e4c0f7fc6630f88604079ab4ede1b8963ec6a
ba7db1e008078bfbed489e17bee00309e0a7b1f0Timo Sirainen= render partial: '/ontologies/menu', locals: {resource: resource}
ba7db1e008078bfbed489e17bee00309e0a7b1f0Timo Sirainen%h2{'style' => 'display: inline-block'}
ba7db1e008078bfbed489e17bee00309e0a7b1f0Timo Sirainen %span= link_to resource
ba7db1e008078bfbed489e17bee00309e0a7b1f0Timo Sirainen = link_to resource.language, resource.language
ba7db1e008078bfbed489e17bee00309e0a7b1f0Timo Sirainen %small#ontology-state{ class: resource.state, 'data-uri' => url_for(resource) }
ba7db1e008078bfbed489e17bee00309e0a7b1f0Timo Sirainen = status resource
ba7db1e008078bfbed489e17bee00309e0a7b1f0Timo Sirainen%p= link_to resource.iri, download_path(resource) if download_path(resource)
ba7db1e008078bfbed489e17bee00309e0a7b1f0Timo Sirainen= render partial: '/ontologies/oops_state', locals: {resource: resource}
- @top_level_pages.each do |(page_title, page)|
- @entities.each do |entity|
%li{:class => (entity.kind == @active_kind ? 'active' : nil)}
%a{:href => ontology_entities_path(resource, :kind => entity.kind)}
- pages.each do |page, path, count|
%span.badge{:style => count==0 && 'display:none'}= count