Sha256: 3e3564797472828ffb74373926825bd88e44095ee0ccae7d33c117701d9396ed

Contents?: true

Size: 891 Bytes

Versions: 10

Compression:

Stored size: 891 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))
      Iqvoc.default_rdf_namespace_helper_methods.each do |meth|
        doc.namespaces(self.send(meth))
      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

10 entries across 10 versions & 1 rubygems

Version Path
iqvoc-4.3.3 app/views/triplestore_sync/index.html.erb
iqvoc-4.3.2 app/views/triplestore_sync/index.html.erb
iqvoc-4.3.1 app/views/triplestore_sync/index.html.erb
iqvoc-4.3.0 app/views/triplestore_sync/index.html.erb
iqvoc-4.2.0 app/views/triplestore_sync/index.html.erb
iqvoc-4.1.3 app/views/triplestore_sync/index.html.erb
iqvoc-4.1.2 app/views/triplestore_sync/index.html.erb
iqvoc-4.1.1 app/views/triplestore_sync/index.html.erb
iqvoc-4.1.0 app/views/triplestore_sync/index.html.erb
iqvoc-4.0.9 app/views/triplestore_sync/index.html.erb