Sha256: 80274c8493dd344138e44e54907bba3f5198c209f537ca35b9d9d903ab7aad6f

Contents?: true

Size: 938 Bytes

Versions: 16

Compression:

Stored size: 938 Bytes

Contents

<%= page_header :title => t("txt.views.triplestore_sync.caption") %>
<%= render "dashboard/sidebar" %>

<%= form_tag triplestore_sync_path(:format => nil), :method => :post do %>
  <%= submit_tag t("txt.views.triplestore_sync.start"), :class => "btn btn-primary" %>
<% end %>

<% @candidates.each do |records| %>
  <% klass = records.table.engine %>
  <h3><%= klass.model_name.human(:count => 2) %></h3>
  <ul>
    <% records.each do |record| %>
    <% # XXX: does not belong here -- also heavily over-engineered
      doc = IqRdf::Document.new(root_url(:lang => nil))
      RdfNamespacesHelper.instance_methods.each do |meth|
        namespaces = send(meth)
        doc.namespaces(namespaces) if namespaces.is_a?(Hash)
      end
      uri = record.build_rdf_subject.full_uri # XXX: we actually just want path, plus HTML format
    %>
    <li><%= link_to record.to_s, uri %></li>
    <% end %>
  </ul>
  <%= paginate records %>
<% end %>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
iqvoc-4.12.1 app/views/triplestore_sync/index.html.erb
iqvoc-4.12.0 app/views/triplestore_sync/index.html.erb
iqvoc-4.11.1 app/views/triplestore_sync/index.html.erb
iqvoc-4.11.0 app/views/triplestore_sync/index.html.erb
iqvoc-4.10.0 app/views/triplestore_sync/index.html.erb
iqvoc-4.9.0 app/views/triplestore_sync/index.html.erb
iqvoc-4.8.2 app/views/triplestore_sync/index.html.erb
iqvoc-4.8.1 app/views/triplestore_sync/index.html.erb
iqvoc-4.8.0 app/views/triplestore_sync/index.html.erb
iqvoc-4.7.0 app/views/triplestore_sync/index.html.erb
iqvoc-4.6.1 app/views/triplestore_sync/index.html.erb
iqvoc-4.5.2 app/views/triplestore_sync/index.html.erb
iqvoc-4.6.0 app/views/triplestore_sync/index.html.erb
iqvoc-4.5.1 app/views/triplestore_sync/index.html.erb
iqvoc-4.5.0 app/views/triplestore_sync/index.html.erb
iqvoc-4.4.0 app/views/triplestore_sync/index.html.erb