iqvoc_similar_terms 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b1f276ce7e91b534ca7030ef14b17c14a153b82e
4
- data.tar.gz: 20cbb4c9d078869002de39b85d6b1d73c9a266cb
3
+ metadata.gz: 2dace2748cbace567b159808910e1ebbe1d31483
4
+ data.tar.gz: af43d5266ee8d506c7e7fe3cec4b923a479bb449
5
5
  SHA512:
6
- metadata.gz: 3a9406f2fcf2e74af436286f8a171921f42fe151bd73e758ab8b0b6e185b99338c9cd49852955a8dd9170a22be2bd6078f73ce732509e942a81a3634939ee93f
7
- data.tar.gz: 91b015579b3c324f9970eac4ca6073b0317dc87bb41096bc00699bb259378ebac53c38f05c0ca4cbb6476526e1ab5a7b7f699b5b8f4d81e8dba94177f8736e29
6
+ metadata.gz: 3197e31a660fd70f5d14046aa5b51d8002fd950f2e5798dc57f30ee04facec56fa4600e548ab953e0d45f8986321c82a45b902296c3104183a57b8b472ff05b2
7
+ data.tar.gz: 9a37c52d395cd6f6e59f4760a660b7fecdd5540a5db820e5a61ff13873b3d84a6df571925c3da37925a1085c774c0ab911900524534065b618f5322036bd0083
@@ -1,5 +1,14 @@
1
1
  <%= page_header :title => "Similar Terms" %> <%# TODO: i18n %>
2
2
 
3
+ <% if @terms %>
4
+ <%= sidebar do %>
5
+ <%= sidebar_header t('txt.common.representations') %>
6
+ <%= sidebar_item :icon => 'share', :text => 'HTML', :path => similar_path(:terms => params[:terms], :format => :html) %>
7
+ <%= sidebar_item :icon => 'share', :text => 'RDF/XML', :path => similar_path(:terms => params[:terms], :format => :rdf) %>
8
+ <%= sidebar_item :icon => 'share', :text => 'RDF/XML', :path => similar_path(:terms => params[:terms], :format => :ttl) %>
9
+ <% end %>
10
+ <% end %>
11
+
3
12
  <%= form_tag(similar_path, :method => :get, :class => 'form-horizontal') do %>
4
13
  <%= text_field_tag :terms, (@terms ?
5
14
  Iqvoc::InlineDataHelper.generate_inline_values(@terms) :
@@ -1,5 +1,5 @@
1
1
  module Iqvoc
2
2
  module SimilarTerms
3
- VERSION = "0.5.0"
3
+ VERSION = "0.5.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iqvoc_similar_terms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Frederik Dohr