Sha256: 08fe7ae95b63d9a7028dec2e57bb92988470d7ce9afee460526fa4a937170253

Contents?: true

Size: 922 Bytes

Versions: 5

Compression:

Stored size: 922 Bytes

Contents

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

<%= form_tag triplestore_sync_path(:format => nil, :lang => 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(doc, controller).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

5 entries across 5 versions & 1 rubygems

Version Path
iqvoc-4.0.8 app/views/triplestore_sync/index.html.erb
iqvoc-4.0.7 app/views/triplestore_sync/index.html.erb
iqvoc-4.0.6 app/views/triplestore_sync/index.html.erb
iqvoc-4.0.5 app/views/triplestore_sync/index.html.erb
iqvoc-4.0.4 app/views/triplestore_sync/index.html.erb