Sha256: 675c449bbaba185ab008f0f564c312bb1367783b7fa7026ccf726188276dee0b
Contents?: true
Size: 1.38 KB
Versions: 5
Compression:
Stored size: 1.38 KB
Contents
- page_title 'Resources' - rdf_type_label = PublishMyData::RdfType.find(@type_filter).label rescue nil - content_for :crumbs do %ol.breadcrumb %li= link_to_home - if @dataset && @dataset.theme %li= link_to "Theme: #{@dataset.theme_obj.label || @dataset.theme_obj.uri}", theme_path(@dataset.theme_obj) - if @dataset %li= link_to "Dataset: #{@dataset.label}", @dataset - if @type_filter %li= "Resources of Type: #{rdf_type_label || @type_filter}" - else %li Resources %section#datasets %header %h1 Resources %h2= resources_list_table_title %ul - @resources.each do |r| %li %h3= link_to((r.label || r.uri.to_s), resource_path_from_uri(r.uri)) %h4.click-to-select= r.uri.to_s - if pagination_required?(@resources, @pagination_params) = paginate @resources %footer.alternative-formats :markdown This **page of resources** is available as %ul %li HTML %li= link_to 'N-triples', format: 'nt', page: @pagination_params.page, per_page: @pagination_params.per_page %li= link_to "Turtle", format: 'ttl', page: @pagination_params.page, per_page: @pagination_params.per_page %li= link_to "RDF/XML", format: 'rdf', page: @pagination_params.page, per_page: @pagination_params.per_page %li= link_to "JSON", format: 'json', page: @pagination_params.page, per_page: @pagination_params.per_page
Version data entries
5 entries across 5 versions & 1 rubygems