Sha256: 542e30b71e9bd5b1172b279cf6ffe3fc97b4aba216fcb0dc6bc2251bbefb5ed1

Contents?: true

Size: 1.07 KB

Versions: 22

Compression:

Stored size: 1.07 KB

Contents

<h1>Resources</h1>

<!-- Filter info -->

<% if @type_filter %>
  Of type:
  <% if @type %>
    <%= link_to @type.label || @type.uri, resource_path_from_uri(@type.uri) %>
  <% else %>
    <%= link_to @type_filter, resource_path_from_uri(@type_filter) %>
  <% end %>
  <br/>
<% end %>

<% if @dataset_filter %>
  In dataset:
  <% if @dataset %>
    <%= link_to @dataset.title, @dataset %>
  <% else %>
    <%= link_to @dataset_filter, resource_path_from_uri(@dataset_filter) %>
  <% end %>
  <br/>
<% end %>

<br/>

<% @resources.each do |r| %>
  <%= link_to (r.label || r.uri), resource_path_from_uri(r.uri) %><br/>
<% end %>

<%= paginate @resources %>

<br/>

<% other_params = {:per_page => @pagination_params.per_page, :page => @pagination_params.page, :dataset => @dataset_filter, :type_uri => @type_filter} %>
Get this list as:
<%= link_to('N-triples', {:format => 'nt'}.merge(other_params)) %>
<%= link_to("Turtle", {:format => 'ttl'}.merge(other_params)) %>
<%= link_to("RDF/XML", {:format => 'rdf'}.merge(other_params)) %>
<%= link_to("JSON", {:format => 'json'}.merge(other_params)) %>

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
publish_my_data-0.0.32 app/views/publish_my_data/resources/index.html.erb
publish_my_data-0.0.31 app/views/publish_my_data/resources/index.html.erb
publish_my_data-0.0.30 app/views/publish_my_data/resources/index.html.erb
publish_my_data-0.0.29 app/views/publish_my_data/resources/index.html.erb
publish_my_data-0.0.28 app/views/publish_my_data/resources/index.html.erb
publish_my_data-0.0.27 app/views/publish_my_data/resources/index.html.erb
publish_my_data-0.0.26 app/views/publish_my_data/resources/index.html.erb
publish_my_data-0.0.25 app/views/publish_my_data/resources/index.html.erb
publish_my_data-0.0.24 app/views/publish_my_data/resources/index.html.erb
publish_my_data-0.0.23 app/views/publish_my_data/resources/index.html.erb
publish_my_data-0.0.22 app/views/publish_my_data/resources/index.html.erb
publish_my_data-0.0.21 app/views/publish_my_data/resources/index.html.erb
publish_my_data-0.0.20 app/views/publish_my_data/resources/index.html.erb
publish_my_data-0.0.19 app/views/publish_my_data/resources/index.html.erb
publish_my_data-0.0.18 app/views/publish_my_data/resources/index.html.erb
publish_my_data-0.0.17 app/views/publish_my_data/resources/index.html.erb
publish_my_data-0.0.16 app/views/publish_my_data/resources/index.html.erb
publish_my_data-0.0.15 app/views/publish_my_data/resources/index.html.erb
publish_my_data-0.0.14 app/views/publish_my_data/resources/index.html.erb
publish_my_data-0.0.13 app/views/publish_my_data/resources/index.html.erb