iqvoc_skosxl 1.2.3 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. data/Gemfile +3 -2
  2. data/Gemfile.lock +74 -59
  3. data/app/controllers/labels/versions_controller.rb +6 -6
  4. data/app/controllers/labels_controller.rb +4 -4
  5. data/app/helpers/labels_helper.rb +12 -8
  6. data/app/views/labels/_form.html.erb +46 -0
  7. data/app/views/labels/_header.html.erb +7 -0
  8. data/app/views/labels/_sidebar.html.erb +11 -0
  9. data/app/views/labels/_value_and_language.html.erb +6 -6
  10. data/app/views/labels/edit.html.erb +6 -19
  11. data/app/views/labels/new.html.erb +3 -2
  12. data/app/views/labels/notifications/_referenced_labels.html.erb +14 -0
  13. data/app/views/labels/show_published.html.erb +7 -4
  14. data/app/views/labels/show_unpublished.html.erb +21 -13
  15. data/app/views/partials/label/relation/_base.html.erb +2 -2
  16. data/app/views/partials/label/relation/_edit_base.html.erb +11 -13
  17. data/app/views/partials/label/skosxl/_new_link_base.html.erb +5 -7
  18. data/app/views/partials/labeling/skosxl/_base.html.erb +7 -7
  19. data/config/database.mysql.yml +20 -0
  20. data/config/database.sqlite.yml +17 -0
  21. data/config/locales/activerecord.de.yml +5 -1
  22. data/config/locales/activerecord.en.yml +5 -1
  23. data/config/locales/de.yml +4 -0
  24. data/config/locales/en.yml +4 -0
  25. data/iqvoc_skosxl.gemspec +1 -1
  26. data/lib/iqvoc/skosxl/version.rb +1 -1
  27. metadata +14 -18
  28. data/app/views/labels/_base_data.html.erb +0 -62
  29. data/app/views/labels/_change_note.html.erb +0 -46
  30. data/app/views/labels/_details.html.erb +0 -6
  31. data/app/views/labels/_label_relation.html.erb +0 -7
  32. data/app/views/labels/_labeling.html.erb +0 -3
  33. data/app/views/labels/_note.html.erb +0 -33
  34. data/app/views/labels/_show_head.html.erb +0 -22
  35. data/app/views/labels/show.ttl.erb +0 -1
  36. data/test/unit/hygiene_test.rb +0 -4
data/Gemfile CHANGED
@@ -1,13 +1,14 @@
1
1
  source "http://rubygems.org"
2
2
 
3
- gem 'rails', '3.2.1'
4
- gem 'iqvoc', '~> 3.5.5'
3
+ gem 'rails', '3.2.3'
4
+ gem 'iqvoc', '~> 4.0.0'
5
5
 
6
6
  group :development do
7
7
  gem 'awesome_print'
8
8
  end
9
9
 
10
10
  group :assets do
11
+ gem 'sass-rails', '~> 3.2.5'
11
12
  gem 'uglifier', '>= 1.0.3'
12
13
  end
13
14
 
data/Gemfile.lock CHANGED
@@ -1,26 +1,26 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
- actionmailer (3.2.1)
5
- actionpack (= 3.2.1)
6
- mail (~> 2.4.0)
7
- actionpack (3.2.1)
8
- activemodel (= 3.2.1)
9
- activesupport (= 3.2.1)
4
+ actionmailer (3.2.3)
5
+ actionpack (= 3.2.3)
6
+ mail (~> 2.4.4)
7
+ actionpack (3.2.3)
8
+ activemodel (= 3.2.3)
9
+ activesupport (= 3.2.3)
10
10
  builder (~> 3.0.0)
11
11
  erubis (~> 2.7.0)
12
12
  journey (~> 1.0.1)
13
13
  rack (~> 1.4.0)
14
- rack-cache (~> 1.1)
14
+ rack-cache (~> 1.2)
15
15
  rack-test (~> 0.6.1)
16
16
  sprockets (~> 2.1.2)
17
- activemodel (3.2.1)
18
- activesupport (= 3.2.1)
17
+ activemodel (3.2.3)
18
+ activesupport (= 3.2.3)
19
19
  builder (~> 3.0.0)
20
- activerecord (3.2.1)
21
- activemodel (= 3.2.1)
22
- activesupport (= 3.2.1)
23
- arel (~> 3.0.0)
20
+ activerecord (3.2.3)
21
+ activemodel (= 3.2.3)
22
+ activesupport (= 3.2.3)
23
+ arel (~> 3.0.2)
24
24
  tzinfo (~> 0.3.29)
25
25
  activerecord-jdbc-adapter (1.2.2)
26
26
  activerecord-jdbcmysql-adapter (1.2.2)
@@ -30,13 +30,14 @@ GEM
30
30
  activerecord-jdbc-adapter (~> 1.2.2)
31
31
  jdbc-sqlite3 (~> 3.7.2)
32
32
  activerecord-oracle_enhanced-adapter (1.4.1)
33
- activeresource (3.2.1)
34
- activemodel (= 3.2.1)
35
- activesupport (= 3.2.1)
36
- activesupport (3.2.1)
33
+ activeresource (3.2.3)
34
+ activemodel (= 3.2.3)
35
+ activesupport (= 3.2.3)
36
+ activesupport (3.2.3)
37
37
  i18n (~> 0.6)
38
38
  multi_json (~> 1.0)
39
- arel (3.0.0)
39
+ addressable (2.2.8)
40
+ arel (3.0.2)
40
41
  authlogic (3.1.0)
41
42
  activerecord (>= 3.0.7)
42
43
  activerecord (>= 3.0.7)
@@ -50,26 +51,26 @@ GEM
50
51
  rack-test (>= 0.5.4)
51
52
  selenium-webdriver (~> 2.0)
52
53
  xpath (~> 0.1.4)
53
- childprocess (0.3.0)
54
+ childprocess (0.3.2)
54
55
  ffi (~> 1.0.6)
55
- database_cleaner (0.7.1)
56
+ database_cleaner (0.7.2)
56
57
  erubis (2.7.0)
57
- execjs (1.3.0)
58
+ execjs (1.3.2)
58
59
  multi_json (~> 1.0)
59
- factory_girl (2.5.0)
60
- activesupport
61
- factory_girl_rails (1.6.0)
62
- factory_girl (~> 2.5.0)
60
+ factory_girl (3.2.0)
61
+ activesupport (>= 3.0.0)
62
+ factory_girl_rails (3.2.0)
63
+ factory_girl (~> 3.2.0)
63
64
  railties (>= 3.0.0)
64
- fastercsv (1.5.4)
65
+ fastercsv (1.5.5)
65
66
  ffi (1.0.11)
66
67
  ffi (1.0.11-java)
67
68
  hike (1.2.1)
68
69
  i18n (0.6.0)
69
- iq_rdf (0.1.2)
70
+ iq_rdf (0.1.5)
70
71
  builder
71
72
  bundler
72
- iqvoc (3.5.5)
73
+ iqvoc (4.0.0)
73
74
  authlogic
74
75
  bundler
75
76
  cancan
@@ -79,45 +80,49 @@ GEM
79
80
  kaminari
80
81
  rails (~> 3.2.1)
81
82
  rails_autolink
83
+ sass-rails (~> 3.2.5)
84
+ simple_form
82
85
  jdbc-mysql (5.1.13)
83
86
  jdbc-sqlite3 (3.7.2)
84
- journey (1.0.1)
85
- json (1.6.5)
86
- json (1.6.5-java)
87
+ journey (1.0.3)
88
+ json (1.7.1)
89
+ json (1.7.1-java)
87
90
  kaminari (0.13.0)
88
91
  actionpack (>= 3.0.0)
89
92
  activesupport (>= 3.0.0)
90
93
  railties (>= 3.0.0)
91
- mail (2.4.1)
94
+ libwebsocket (0.1.3)
95
+ addressable
96
+ mail (2.4.4)
92
97
  i18n (>= 0.4.0)
93
98
  mime-types (~> 1.16)
94
99
  treetop (~> 1.4.8)
95
- mime-types (1.17.2)
96
- multi_json (1.0.4)
100
+ mime-types (1.18)
101
+ multi_json (1.3.4)
97
102
  mysql2 (0.3.11)
98
- nokogiri (1.5.0)
99
- nokogiri (1.5.0-java)
103
+ nokogiri (1.5.2)
104
+ nokogiri (1.5.2-java)
100
105
  polyglot (0.3.3)
101
106
  rack (1.4.1)
102
- rack-cache (1.1)
107
+ rack-cache (1.2)
103
108
  rack (>= 0.4)
104
109
  rack-ssl (1.3.2)
105
110
  rack
106
111
  rack-test (0.6.1)
107
112
  rack (>= 1.0)
108
- rails (3.2.1)
109
- actionmailer (= 3.2.1)
110
- actionpack (= 3.2.1)
111
- activerecord (= 3.2.1)
112
- activeresource (= 3.2.1)
113
- activesupport (= 3.2.1)
113
+ rails (3.2.3)
114
+ actionmailer (= 3.2.3)
115
+ actionpack (= 3.2.3)
116
+ activerecord (= 3.2.3)
117
+ activeresource (= 3.2.3)
118
+ activesupport (= 3.2.3)
114
119
  bundler (~> 1.0)
115
- railties (= 3.2.1)
116
- rails_autolink (1.0.5)
120
+ railties (= 3.2.3)
121
+ rails_autolink (1.0.9)
117
122
  rails (~> 3.1)
118
- railties (3.2.1)
119
- actionpack (= 3.2.1)
120
- activesupport (= 3.2.1)
123
+ railties (3.2.3)
124
+ actionpack (= 3.2.3)
125
+ activesupport (= 3.2.3)
121
126
  rack-ssl (~> 1.3.2)
122
127
  rake (>= 0.8.7)
123
128
  rdoc (~> 3.4)
@@ -125,25 +130,34 @@ GEM
125
130
  rake (0.9.2.2)
126
131
  rdoc (3.12)
127
132
  json (~> 1.4)
128
- rubyzip (0.9.5)
129
- selenium-webdriver (2.18.0)
133
+ rubyzip (0.9.8)
134
+ sass (3.1.18)
135
+ sass-rails (3.2.5)
136
+ railties (~> 3.2.0)
137
+ sass (>= 3.1.10)
138
+ tilt (~> 1.3)
139
+ selenium-webdriver (2.21.2)
130
140
  childprocess (>= 0.2.5)
131
- ffi (~> 1.0.9)
132
- multi_json (~> 1.0.4)
141
+ ffi (~> 1.0)
142
+ libwebsocket (~> 0.1.3)
143
+ multi_json (~> 1.0)
133
144
  rubyzip
134
- sprockets (2.1.2)
145
+ simple_form (2.0.2)
146
+ actionpack (~> 3.0)
147
+ activemodel (~> 3.0)
148
+ sprockets (2.1.3)
135
149
  hike (~> 1.2)
136
150
  rack (~> 1.0)
137
151
  tilt (~> 1.1, != 1.3.0)
138
- sqlite3 (1.3.5)
139
- test-unit (2.4.7)
152
+ sqlite3 (1.3.6)
153
+ test-unit (2.4.8)
140
154
  thor (0.14.6)
141
155
  tilt (1.3.3)
142
156
  treetop (1.4.10)
143
157
  polyglot
144
158
  polyglot (>= 0.3.1)
145
- tzinfo (0.3.31)
146
- uglifier (1.2.3)
159
+ tzinfo (0.3.33)
160
+ uglifier (1.2.4)
147
161
  execjs (>= 0.3.0)
148
162
  multi_json (>= 1.0.2)
149
163
  xpath (0.1.4)
@@ -161,10 +175,11 @@ DEPENDENCIES
161
175
  capybara
162
176
  database_cleaner
163
177
  factory_girl_rails
164
- iqvoc (~> 3.5.5)
178
+ iqvoc (~> 4.0.0)
165
179
  mysql2
166
180
  nokogiri (~> 1.5.0)
167
- rails (= 3.2.1)
181
+ rails (= 3.2.3)
182
+ sass-rails (~> 3.2.5)
168
183
  sqlite3
169
184
  test-unit
170
185
  uglifier (>= 1.0.3)
@@ -20,7 +20,7 @@ class Labels::VersionsController < ApplicationController
20
20
  handle_virtuoso_exception(e.message)
21
21
  end
22
22
  if new_version.has_concept_or_label_relations?
23
- flash[:notice] = t("txt.controllers.versioning.published")
23
+ flash[:success] = t("txt.controllers.versioning.published")
24
24
  redirect_to label_path(:id => new_version)
25
25
  else
26
26
  flash[:error] = t("txt.controllers.versioning.published_with_warning")
@@ -47,7 +47,7 @@ class Labels::VersionsController < ApplicationController
47
47
  new_version = current_label.branch(current_user)
48
48
  new_version.save!
49
49
  end
50
- flash[:notice] = t("txt.controllers.versioning.branched")
50
+ flash[:success] = t("txt.controllers.versioning.branched")
51
51
  redirect_to edit_label_path(:published => 0, :id => new_version, :check_associations_in_editing_mode => true)
52
52
  end
53
53
 
@@ -61,7 +61,7 @@ class Labels::VersionsController < ApplicationController
61
61
  new_version.lock_by_user(current_user.id)
62
62
  new_version.save!
63
63
 
64
- flash[:notice] = t("txt.controllers.versioning.locked")
64
+ flash[:success] = t("txt.controllers.versioning.locked")
65
65
  redirect_to edit_label_path(:published => 0, :id => new_version)
66
66
  end
67
67
 
@@ -75,7 +75,7 @@ class Labels::VersionsController < ApplicationController
75
75
  new_version.unlock
76
76
  new_version.save!
77
77
 
78
- flash[:notice] = t("txt.controllers.versioning.unlocked")
78
+ flash[:success] = t("txt.controllers.versioning.unlocked")
79
79
  redirect_to label_path(:published => 0, :id => new_version)
80
80
  end
81
81
 
@@ -86,7 +86,7 @@ class Labels::VersionsController < ApplicationController
86
86
  authorize! :check_consistency, label
87
87
 
88
88
  if label.valid_with_full_validation?
89
- flash[:notice] = t("txt.controllers.versioning.consistency_check_success")
89
+ flash[:success] = t("txt.controllers.versioning.consistency_check_success")
90
90
  redirect_to label_path(:published => 0, :id => label)
91
91
  else
92
92
  flash[:error] = t("txt.controllers.versioning.consistency_check_error")
@@ -102,7 +102,7 @@ class Labels::VersionsController < ApplicationController
102
102
 
103
103
  label.to_review
104
104
  label.save!
105
- flash[:notice] = t("txt.controllers.versioning.to_review_success")
105
+ flash[:success] = t("txt.controllers.versioning.to_review_success")
106
106
  redirect_to label_path(:published => 0, :id => label)
107
107
  end
108
108
 
@@ -61,7 +61,7 @@ class LabelsController < ApplicationController
61
61
  @label = Iqvoc::XLLabel.base_class.new(params[:label])
62
62
  if @label.valid?
63
63
  if @label.save
64
- flash[:notice] = I18n.t("txt.controllers.versioned_label.success")
64
+ flash[:success] = I18n.t("txt.controllers.versioned_label.success")
65
65
  redirect_to label_path(:published => 0, :id => @label.origin)
66
66
  else
67
67
  flash.now[:error] = I18n.t("txt.controllers.versioned_label.error")
@@ -103,7 +103,7 @@ class LabelsController < ApplicationController
103
103
  format.html do
104
104
  raise ActiveRecord::RecordNotFound unless @label
105
105
  if @label.update_attributes(params[:label])
106
- flash[:notice] = I18n.t("txt.controllers.versioned_label.update_success")
106
+ flash[:success] = I18n.t("txt.controllers.versioned_label.update_success")
107
107
  redirect_to label_path(:published => 0, :id => @label)
108
108
  else
109
109
  flash.now[:error] = I18n.t("txt.controllers.versioned_label.update_error")
@@ -119,10 +119,10 @@ class LabelsController < ApplicationController
119
119
  authorize! :destroy, @new_label
120
120
 
121
121
  if @new_label.destroy
122
- flash[:notice] = I18n.t("txt.controllers.label_versions.delete")
122
+ flash[:success] = I18n.t("txt.controllers.label_versions.delete")
123
123
  redirect_to dashboard_path
124
124
  else
125
- flash[:notice] = I18n.t("txt.controllers.label_versions.delete_error")
125
+ flash[:error] = I18n.t("txt.controllers.label_versions.delete_error")
126
126
  redirect_to label_path(:published => 0, :id => @new_label)
127
127
  end
128
128
  end
@@ -22,14 +22,6 @@ module LabelsHelper
22
22
  additional_object.build_rdf(document, c)
23
23
  end
24
24
  end
25
-
26
- =begin
27
- concept.matches.each do |match|
28
- match.build_rdf(document, c)
29
- end
30
-
31
-
32
- =end
33
25
  end
34
26
  end
35
27
 
@@ -65,4 +57,16 @@ module LabelsHelper
65
57
  res
66
58
  end
67
59
 
60
+ def label_header(label)
61
+ desc = label.class.model_name.human
62
+
63
+ if label.expired_at
64
+ desc += " #{t('txt.views.concepts.expired_at', :date => l(label.expired_at, :format => :long))} "
65
+ end
66
+
67
+ title = label.origin
68
+
69
+ page_header :title => title.to_s, :desc => desc.html_safe
70
+ end
71
+
68
72
  end
@@ -0,0 +1,46 @@
1
+ <%= simple_form_for label,
2
+ :as => :label,
3
+ :url => label.new_record? ? labels_path : label_path(:id => label, :published => 0),
4
+ :html => { :class => "form-horizontal" } do |f| %>
5
+
6
+ <fieldset id="label_base_data">
7
+ <legend><%= t("txt.common.attributes") %></legend>
8
+ <%= f.input :value %>
9
+ <%= f.input :language do %>
10
+ <%= @label.language %>
11
+ <span><%= f.hidden_field :language %></span>
12
+ <% end %>
13
+
14
+ <% if Iqvoc::XLLabel.has_additional_base_data %>
15
+ <%= render 'partials/label/additional_base_data', :f => f %>
16
+ <% end %>
17
+
18
+ <%= f.input :follow_up, :as => :string, :input_html => { :class => 'datepicker' } %>
19
+ <%= f.input :expired_at, :as => :string, :input_html => { :class => 'datepicker' } %>
20
+ </fieldset>
21
+
22
+ <fieldset>
23
+ <legend><%= Label::Relation::SKOSXL::Base.model_name.human(:count => 2) %></legend>
24
+ <% Iqvoc::XLLabel.relation_classes.each do |relation_class| %>
25
+ <%= render relation_class.edit_partial_name(label), :f => f, :label => label, :klass => relation_class %>
26
+ <% end %>
27
+ </fieldset>
28
+
29
+ <% Iqvoc::XLLabel.additional_association_classes.keys.each do |association_class| %>
30
+ <fieldset>
31
+ <legend><%= association_class.model_name.human(:count => 2) %></legend>
32
+ <%= render association_class.edit_partial_name(label), :label => label, :klass => association_class, :f => f %>
33
+ </fieldset>
34
+ <% end %>
35
+
36
+
37
+ <% unless label.new_record? %>
38
+ <% Iqvoc::XLLabel.note_classes.each do |note_class| %>
39
+ <%= render note_class.edit_partial_name(label), :owner_klass => label, :assoc_klass => note_class, :f => f %>
40
+ <% end %>
41
+ <% end %>
42
+
43
+ <div class="form-actions">
44
+ <%= f.submit t("txt.common.save"), :class => 'btn btn-primary' %>
45
+ </div>
46
+ <% end # form %>
@@ -0,0 +1,7 @@
1
+ <% published_param = label.published? ? nil : 0 %>
2
+ <%= content_for :head do %>
3
+ <link href="<%= rdf_url(label.origin, :format => :ttl, :published => published_param, :lang => nil) %>" type="text/turtle" rel="alternate" title=""/>
4
+ <link href="<%= rdf_url(label.origin, :format => :rdf, :published => published_param, :lang => nil) %>" type="application/rdf+xml" rel="alternate" title=""/>
5
+ <% end %>
6
+
7
+ <%= label_header(label) %>
@@ -0,0 +1,11 @@
1
+ <% published_param = label.published? ? nil : 0 %>
2
+
3
+ <%= sidebar do %>
4
+ <%= sidebar_header t('txt.common.representations') %>
5
+ <%= sidebar_item :icon => 'share', :text => 'HTML', :path => rdf_url(label.origin, :format => :html, :published => published_param, :lang => nil) %>
6
+ <%= sidebar_item :icon => 'share', :text => 'RDF/XML', :path => rdf_url(label.origin, :format => :rdf, :published => published_param, :lang => nil), :id => 'rdf_link_xml' %>
7
+ <%= sidebar_item :icon => 'share', :text => 'RDF/Turtle', :path => rdf_url(label.origin, :format => :ttl, :published => published_param, :lang => nil), :id => 'rdf_link_ttl' %>
8
+ <%= sidebar_header 'Links' %>
9
+ <%#= sidebar_item :icon => 'zoom-in', :text => 'Visualization', :path => '#visualization', :'data-toggle' => 'modal' %>
10
+ <%= render Iqvoc::XLLabel.base_class.new_link_partial_name %>
11
+ <% end %>
@@ -1,9 +1,9 @@
1
- <h4><%= t("txt.views.labels.template_form") %></h4>
2
- <div class="relation">
3
- <%= label.value %>
1
+ <div class="panel">
2
+ <h2><%= t("txt.views.labels.template_form") %></h2>
3
+ <%= label.value %>
4
4
  </div>
5
5
 
6
- <h4><%= t("txt.views.labels.language") %></h4>
7
- <div class="relation">
6
+ <div class="panel">
7
+ <h2><%= t("txt.views.labels.language") %></h2>
8
8
  <%= label.language %>
9
- </div>
9
+ </div
@@ -1,22 +1,9 @@
1
- <%= error_messages_for @label %>
2
-
3
- <h2><%= t("txt.views.labels.edit.header") %> <strong><%=h @label.value %></strong></h2>
4
-
5
- <% if @association_objects_in_editing_mode.present? %>
1
+ <%= render 'header', :label => @label %>
2
+ <%= render 'sidebar', :label => @label %>
6
3
 
7
- <% if @association_objects_in_editing_mode[:label_relations].present? %>
8
- <h4><%= t("txt.common.referenced_labels") %></h4>
9
- <% @association_objects_in_editing_mode[:label_relations].each do |label_relation| %>
10
- <%= label_relation.type.demodulize + ': ' + link_to(label_relation.range.value, label_path(:published => 0, :id => label_relation.range)) + user_and_phone_number(t("txt.common.editor"), label_relation.range.locking_user.name, label_relation.range.locking_user.telephone_number) %><br />
11
- <% end %>
12
- <% end %>
13
-
14
- <% end %>
4
+ <%= error_messages_for @label %>
15
5
 
16
- <%= render :partial => "labels/base_data" %>
6
+ <%= render 'labels/notifications/referenced_labels',
7
+ :association_objects_in_editing_mode => @association_objects_in_editing_mode %>
17
8
 
18
- <%= content_for :sub_navigation do %>
19
- <ul>
20
- <li><%= link_to t('txt.views.navigation.back_to_preview'), label_path(:published => 0, :id => @label), :class => 'back' %></li>
21
- </ul>
22
- <% end %>
9
+ <%= render 'form', :label => @label %>
@@ -1,3 +1,4 @@
1
- <h2><%= t("txt.views.labels.new") %></h2>
1
+ <%= page_header :title => t("txt.views.labels.new") %>
2
+
2
3
  <%= error_messages_for @label %>
3
- <%= render :partial => "labels/base_data" %>
4
+ <%= render 'form', :label => @label %>
@@ -0,0 +1,14 @@
1
+ <% if association_objects_in_editing_mode && association_objects_in_editing_mode[:label_relations].any? %>
2
+ <%= alert(:notice, :header => t("txt.common.referenced_labels")) do %>
3
+ <ul>
4
+ <% association_objects_in_editing_mode[:label_relations].each do |label_relation| %>
5
+ <li>
6
+ <%= label_relation.class.model_name.human %>
7
+ <%= link_to(label_relation.range.value,
8
+ label_path(:published => 0, :id => label_relation.range)) %>
9
+ <%= t("txt.common.editor") %> <%= user_details(concept_relation.target.locking_user) %>
10
+ </li>
11
+ <% end %>
12
+ </ul>
13
+ <% end # alert %>
14
+ <% end # if %>
@@ -1,11 +1,14 @@
1
- <%= render 'show_head' %>
1
+ <%= render 'header', :label => @label %>
2
+ <%= render 'sidebar', :label => @label %>
2
3
 
3
4
  <% if can?(:read, @new_label_version) || can?(:branch, @label) %>
4
- <div class="editing_versioning_toolbar ui-corner-all ui-widget ui-widget-content">
5
+ <div class="editing_versioning_toolbar well">
5
6
  <% if @new_label_version.blank? && can?(:branch, @label) %>
6
- <%= button_to t("txt.views.versioning.versioning_mode"), label_versions_branch_path(:origin => @label.origin) %>
7
+ <%= button_to t("txt.views.versioning.versioning_mode"),
8
+ label_versions_branch_path(:origin => @label.origin), :class => 'btn' %>
7
9
  <% elsif can?(:read, @new_label_version) %>
8
- <%= link_to t("txt.views.versioning.preview_new_version"), label_path(:published => 0, :id => @new_label_version) %>
10
+ <%= link_to t("txt.views.versioning.preview_new_version"),
11
+ label_path(:published => 0, :id => @new_label_version), :class => 'btn' %>
9
12
  <% end %>
10
13
  </div>
11
14
  <% end %>
@@ -1,35 +1,43 @@
1
- <%= render 'show_head' %>
1
+ <%= render 'header', :label => @label %>
2
+ <%= render 'sidebar', :label => @label %>
2
3
 
3
- <p class="flash_notice">
4
- <%= t("txt.views.versioning.current_revision") %> <%= @label.rev %><% if @label.locked? %> <%= t("txt.views.versioning.in_ongoing_editing_by") %> <%= @label.locking_user.name %><% end %>
5
- </p>
6
-
7
- <div class="editing_versioning_toolbar ui-corner-all ui-widget ui-widget-content">
4
+ <%= alert :info, :header => t('txt.common.unpublished_version') + "." do %>
5
+ <%= t("txt.views.versioning.current_revision", :rev => @label.rev) %>
6
+ <% if @label.locked? %>
7
+ <%= t("txt.views.versioning.in_ongoing_editing_by", :user => @label.locking_user.name) %>
8
+ <% end %>
9
+ <% end %>
8
10
 
11
+ <div class="editing_versioning_toolbar well">
9
12
  <% if (not @label.locked?) || @label.locked_by == @current_user.id %>
10
13
  <%= button_to t("txt.views.versioning.publishing"),
11
- label_versions_merge_path(:origin => @label.origin) %>
14
+ label_versions_merge_path(:origin => @label.origin), :class => 'btn btn-primary' %>
12
15
  <% end %>
13
16
  <%= button_to t("txt.views.versioning.consistency_check"),
14
- label_versions_consistency_check_path(:origin => @label.origin), :method => :get %>
17
+ label_versions_consistency_check_path(:origin => @label.origin),
18
+ :method => :get, :class => 'btn' %>
15
19
 
16
20
  <% if (not @label.in_review?) && @label.locked_by == @current_user.id %>
17
- <%= button_to t("txt.common.to_review"), label_versions_to_review_path(:origin => @label.origin) %>
21
+ <%= button_to t("txt.common.to_review"),
22
+ label_versions_to_review_path(:origin => @label.origin),
23
+ :class => 'btn' %>
18
24
  <% end %>
19
25
 
20
26
  <% unless @label.locked? %>
21
27
  <%= button_to t("txt.views.versioning.to_edit_mode"),
22
- label_versions_lock_path(:origin => @label.origin) %>
28
+ label_versions_lock_path(:origin => @label.origin), :class => 'btn' %>
23
29
  <%= button_to t("txt.views.versioning.delete"),
24
30
  label_path(:published => 0, :id => @label.origin),
25
31
  :method => :delete,
26
- :confirm => I18n.t("txt.views.versioning.delete_confirm") %>
32
+ :confirm => I18n.t("txt.views.versioning.delete_confirm"),
33
+ :class => 'btn' %>
27
34
  <% else %>
28
35
  <%= button_to t("txt.views.versioning.unlock"),
29
- label_versions_unlock_path(:origin => @label.origin) if can?(:unlock, @label) %>
36
+ label_versions_unlock_path(:origin => @label.origin),
37
+ :class => 'btn' if can?(:unlock, @label) %>
30
38
  <%= link_to t("txt.views.versioning.edit_mode"),
31
39
  edit_label_path(:published => 0, :id => @label.origin),
32
- :class => "button" if can?(:update, @label) %>
40
+ :class => 'btn' if can?(:update, @label) %>
33
41
  <% end %>
34
42
  </div>
35
43
 
@@ -1,5 +1,5 @@
1
- <div class="relation">
2
- <h4><%= klass.model_name.human(:count => 2) %></h4>
1
+ <div class="relation panel">
2
+ <h2><%= klass.model_name.human(:count => 2) %></h2>
3
3
  <div class="relation-body">
4
4
  <%= item_listing(label.related_labels_for_relation_class(klass)) do |label|
5
5
  link_to label.value, label_path(:id => label)
@@ -1,13 +1,11 @@
1
- <li>
2
- <%= label_tag(klass.name.to_relation_name,
3
- klass.model_name.human(:count => 2)) %>
4
- <%= text_field_tag "label[inline_#{klass.name.to_relation_name}]",
5
- label.send("inline_#{klass.name.to_relation_name}"),
6
- :id => "#{klass.name.to_relation_name}",
7
- :class => "entity_select",
8
- :"data-query-url" => labels_path(:format => :json),
9
- :"data-entity-uri" => label_path("{id}"),
10
- :"data-entities" => Iqvoc::XLLabel.base_class.editor_selectable.
11
- by_origin(label.send("inline_#{klass.name.to_relation_name}")).
12
- map { |l| label_widget_data(l) }.to_json %>
13
- </li>
1
+ <% fieldname = "label[inline_#{klass.name.to_relation_name}]" %>
2
+ <%= f.input fieldname, :label => klass.model_name.human(:count => 2) do %>
3
+ <%= text_field_tag fieldname, label.send("inline_#{klass.name.to_relation_name}"),
4
+ :id => klass.name.to_relation_name,
5
+ :class => "entity_select",
6
+ :"data-query-url" => labels_path(:format => :json),
7
+ :"data-entity-uri" => label_path("{id}"),
8
+ :"data-entities" => Iqvoc::XLLabel.base_class.editor_selectable.
9
+ by_origin(label.send("inline_#{klass.name.to_relation_name}")).
10
+ map { |l| label_widget_data(l) }.to_json %>
11
+ <% end %>
@@ -1,7 +1,5 @@
1
- <%- if can?(:create, Iqvoc::XLLabel.base_class) -%>
2
- <%= t("txt.views.labels.new") %>
3
- (<%- Iqvoc::Concept::labeling_class_names.values.flatten.map(&:to_s).uniq.each do |language| -%>
4
- <%= link_to language.to_s,
5
- new_label_path(:published => 0, :language => language) %>
6
- <%- end -%>)
7
- <%- end -%>
1
+ <%= sidebar_item :path => new_label_path, :perms => [:create, Iqvoc::XLLabel.base_class], :active => params[:action] == 'new' do %>
2
+ <%= icon(:edit) + " " + t('txt.views.labels.new') %> (<% Iqvoc::Concept::labeling_class_names.values.flatten.map(&:to_s).uniq.each do |language| %>
3
+ <%= link_to language.to_s, new_label_path(:published => 0, :language => language), :class => 'inline-language-selector' %>
4
+ <% end %>)
5
+ <% end %>
@@ -1,19 +1,19 @@
1
- <%= content_tag("div", { :class => "relation translation", :lang => defined?(concept) ? lang || nil : nil }, true) do %>
2
- <%- if defined?(concept) -%>
3
- <h4><%= klass.model_name.human(:count => 2) %> (<%= lang %>)</h4>
1
+ <%= content_tag :div, :class => "relation translation panel", :lang => (lang if defined?(concept)) do %>
2
+ <% if defined?(concept) %>
3
+ <h2><%= klass.model_name.human(:count => 2) %> <small><%= "#{t("languages.#{lang}", :default => lang.to_s)}" %></small></h2>
4
4
  <div class="relation-body">
5
5
  <%= item_listing(concept.labels_for_labeling_class_and_language(klass, lang.to_s)) do |label|
6
6
  link_to label.value, label_path(:id => label)
7
7
  end
8
8
  %>
9
9
  </div>
10
- <%- elsif defined?(label) -%>
11
- <h4><%= klass.model_name.human %> <%= t("txt.common.of") %></h4>
10
+ <% elsif defined?(label) %>
11
+ <h2><%= klass.model_name.human %> <%= t("txt.common.of") %></h2>
12
12
  <div class="relation">
13
13
  <%= item_listing(label.concepts_for_labeling_class(klass)) do |c|
14
14
  link_to c.to_s, concept_path(:id => c)
15
15
  end
16
16
  %>
17
17
  </div>
18
- <%- end -%>
19
- <%- end -%>
18
+ <% end %>
19
+ <% end %>
@@ -0,0 +1,20 @@
1
+ development:
2
+ adapter: mysql2
3
+ database: iqvoc_skosxl_development
4
+ username: root
5
+ password:
6
+ encoding: utf8
7
+
8
+ test:
9
+ adapter: mysql2
10
+ database: iqvoc_skosxl_test
11
+ username: root
12
+ password:
13
+ encoding: utf8
14
+
15
+ production:
16
+ adapter: mysql2
17
+ database: iqvoc_skosxl_production
18
+ username: root
19
+ password:
20
+ encoding: utf8
@@ -0,0 +1,17 @@
1
+ development:
2
+ adapter: sqlite3
3
+ database: db/development.sqlite
4
+ timeout: 5000
5
+ pool: 5
6
+
7
+ test:
8
+ adapter: sqlite3
9
+ database: db/test.sqlite
10
+ timeout: 5000
11
+ pool: 5
12
+
13
+ production:
14
+ adapter: sqlite3
15
+ database: db/production.sqlite
16
+ timeout: 5000
17
+ pool: 5
@@ -4,7 +4,7 @@ de:
4
4
  label/skosxl/base:
5
5
  one: XL-Label
6
6
  other: XL-Labels
7
- label/skosxl/relation/base:
7
+ label/relation/skosxl/base:
8
8
  one: Label-Relation
9
9
  other: Label-Relationen
10
10
  labeling/skosxl/base:
@@ -16,3 +16,7 @@ de:
16
16
  labeling/skosxl/alt_label:
17
17
  one: Alternatives Label
18
18
  other: Alternative Labels
19
+
20
+ attributes:
21
+ label/skosxl/base:
22
+ value: Vorlageform
@@ -4,7 +4,7 @@ en:
4
4
  label/skosxl/base:
5
5
  one: XL Label
6
6
  other: XL Labels
7
- label/skosxl/relation/base:
7
+ label/relation/skosxl/base:
8
8
  one: Label Relation
9
9
  other: Label Relations
10
10
  labeling/skosxl/base:
@@ -16,3 +16,7 @@ en:
16
16
  labeling/skosxl/alt_label:
17
17
  one: Alternative Label
18
18
  other: Alternative Labels
19
+
20
+ attributes:
21
+ label/skosxl/base:
22
+ value: Value
@@ -1,5 +1,9 @@
1
1
  de:
2
2
  txt:
3
+ views:
4
+ layouts:
5
+ sections:
6
+ concepts: Konzepte
3
7
  models:
4
8
  label:
5
9
  origin_invalid: enthält ungültige Zeichen.
@@ -1,5 +1,9 @@
1
1
  en:
2
2
  txt:
3
+ views:
4
+ layouts:
5
+ sections:
6
+ concepts: Konzepte
3
7
  models:
4
8
  label:
5
9
  origin_invalid: Origin contains invalid characters.
data/iqvoc_skosxl.gemspec CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
12
12
  s.summary = "iQvoc SKOS-XL extension"
13
13
  s.description = ""
14
14
 
15
- s.add_dependency "iqvoc", "~> 3.5.1"
15
+ s.add_dependency "iqvoc", "~> 4.0.0"
16
16
  s.add_dependency "bundler"
17
17
 
18
18
  s.files = %w(README.md Gemfile Gemfile.lock Rakefile iqvoc_skosxl.gemspec) + Dir.glob("{app,config,db,public,lib,test}/**/*")
@@ -1,5 +1,5 @@
1
1
  module Iqvoc
2
2
  module SKOSXL
3
- VERSION = "1.2.3"
3
+ VERSION = "2.0.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iqvoc_skosxl
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
4
+ version: 2.0.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,22 +11,22 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2012-03-07 00:00:00.000000000 Z
14
+ date: 2012-05-31 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: iqvoc
18
- requirement: &70213534282900 !ruby/object:Gem::Requirement
18
+ requirement: &70351838150520 !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
21
  - - ~>
22
22
  - !ruby/object:Gem::Version
23
- version: 3.5.1
23
+ version: 4.0.0
24
24
  type: :runtime
25
25
  prerelease: false
26
- version_requirements: *70213534282900
26
+ version_requirements: *70351838150520
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
- requirement: &70213534297700 !ruby/object:Gem::Requirement
29
+ requirement: &70351838149880 !ruby/object:Gem::Requirement
30
30
  none: false
31
31
  requirements:
32
32
  - - ! '>='
@@ -34,7 +34,7 @@ dependencies:
34
34
  version: '0'
35
35
  type: :runtime
36
36
  prerelease: false
37
- version_requirements: *70213534297700
37
+ version_requirements: *70351838149880
38
38
  description: ''
39
39
  email:
40
40
  - till.schulte-coerne@innoq.com
@@ -64,17 +64,13 @@ files:
64
64
  - app/models/labeling/skosxl/base.rb
65
65
  - app/models/labeling/skosxl/hidden_label.rb
66
66
  - app/models/labeling/skosxl/pref_label.rb
67
- - app/views/labels/_base_data.html.erb
68
- - app/views/labels/_change_note.html.erb
69
- - app/views/labels/_details.html.erb
70
- - app/views/labels/_label_relation.html.erb
71
- - app/views/labels/_labeling.html.erb
72
- - app/views/labels/_note.html.erb
73
- - app/views/labels/_show_head.html.erb
67
+ - app/views/labels/_form.html.erb
68
+ - app/views/labels/_header.html.erb
69
+ - app/views/labels/_sidebar.html.erb
74
70
  - app/views/labels/_value_and_language.html.erb
75
71
  - app/views/labels/edit.html.erb
76
72
  - app/views/labels/new.html.erb
77
- - app/views/labels/show.ttl.erb
73
+ - app/views/labels/notifications/_referenced_labels.html.erb
78
74
  - app/views/labels/show_published.html.erb
79
75
  - app/views/labels/show_unpublished.html.erb
80
76
  - app/views/partials/label/relation/_base.html.erb
@@ -87,6 +83,8 @@ files:
87
83
  - app/views/rdf/show_label.iqrdf
88
84
  - config/application.rb
89
85
  - config/boot.rb
86
+ - config/database.mysql.yml
87
+ - config/database.sqlite.yml
90
88
  - config/database.template.yml
91
89
  - config/database.yml
92
90
  - config/engine.rb
@@ -119,7 +117,6 @@ files:
119
117
  - test/integration/labels_order_test.rb
120
118
  - test/integration_test_helper.rb
121
119
  - test/test_helper.rb
122
- - test/unit/hygiene_test.rb
123
120
  - test/unit/label_test.rb
124
121
  homepage: http://innoq.com
125
122
  licenses: []
@@ -141,7 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
141
138
  version: '0'
142
139
  requirements: []
143
140
  rubyforge_project:
144
- rubygems_version: 1.8.15
141
+ rubygems_version: 1.8.11
145
142
  signing_key:
146
143
  specification_version: 3
147
144
  summary: iQvoc SKOS-XL extension
@@ -153,5 +150,4 @@ test_files:
153
150
  - test/integration/labels_order_test.rb
154
151
  - test/integration_test_helper.rb
155
152
  - test/test_helper.rb
156
- - test/unit/hygiene_test.rb
157
153
  - test/unit/label_test.rb
@@ -1,62 +0,0 @@
1
- <h3><%= Label::Base.model_name.human %></h3>
2
-
3
- <%= form_for @label, :as => 'label', :url => @label.new_record? ? labels_path : label_path(:id => @label, :published => 0), :html => {:class => "form"} do |f| %>
4
- <fieldset id="label_base_data">
5
- <legend><%= t("txt.common.attributes") %></legend>
6
- <ol>
7
- <li>
8
- <label><%= t("txt.views.labels.template_form") %></label>
9
- <%= f.text_field :value %>
10
- </li>
11
- <li>
12
- <%= f.label :language %>
13
- <%= @label.language %>
14
- <%= f.hidden_field :language %>
15
- </li>
16
-
17
- <%- if Iqvoc::XLLabel.has_additional_base_data -%>
18
- <%= render :partial => 'partials/label/additional_base_data', :locals => { :f => f } %>
19
- <%- end -%>
20
-
21
- <li>
22
- <%= f.label :follow_up %>
23
- <%= f.text_field :follow_up, :class => "datepicker" %>
24
- </li>
25
- <li>
26
- <%= f.label :expired_at %>
27
- <%= f.text_field :expired_at, :class => "datepicker" %>
28
- </li>
29
- </ol>
30
- </fieldset>
31
-
32
- <fieldset>
33
- <legend>Relations</legend>
34
- <ol>
35
- <%- Iqvoc::XLLabel.relation_classes.each do |relation_class| -%>
36
- <%= render relation_class.edit_partial_name(@label), :label => @label, :klass => relation_class %>
37
- <%- end -%>
38
- </ol>
39
- </fieldset>
40
-
41
- <%- Iqvoc::XLLabel.additional_association_classes.keys.each do |association_class| -%>
42
- <fieldset>
43
- <legend><%= association_class.model_name.human(:count => 2) %></legend>
44
- <ol>
45
- <%= render association_class.edit_partial_name(@label), :label => @label, :klass => association_class, :f => f %>
46
- </ol>
47
- </fieldset>
48
- <%- end -%>
49
-
50
-
51
- <% unless @label.new_record? %>
52
- <% Iqvoc::XLLabel.note_classes.each do |note_class| %>
53
- <%= render note_class.edit_partial_name(@label), :owner_klass => @label, :assoc_klass => note_class, :f => f %>
54
- <% end %>
55
- <% end %>
56
-
57
- <%= f.submit t("txt.common.save") %>
58
-
59
- <% unless controller.action_name == "new" || controller.action_name == "create" %>
60
- <%= link_to t("txt.common.reset"), nil, :class => "button" %>
61
- <% end %>
62
- <% end %>
@@ -1,46 +0,0 @@
1
- <fieldset id="label_umt_change_note_data" class="note_relation">
2
- <legend><%= t("txt.common.umt_change_note", :count => 2) %></legend>
3
- <ol>
4
- <% change_notes = @label.umt_change_notes.sort {|a,b| a.created_at <=> b.created_at } %>
5
- <% change_notes.each do |note| %>
6
- <li class="inline_note<%= " new" if note.new_record? %>">
7
- <%= f.fields_for :umt_change_notes, note do |note_form| %>
8
- <% if note == change_notes.last %>
9
- <%= note_form.label :value, t("txt.common.umt_change_note", :count => 1) %>
10
- <%= note_form.text_area :value, :rows => 5, :cols => 40 %>
11
-
12
- <br />
13
-
14
- <label><%= t("txt.common.note_annotation", :count => 2) %></label>
15
- <textarea disabled="true" rows="3" cols="40">
16
- <%= note.annotations.map { |na| "#{na.identifier} #{na.value}" }.join("\n") %>
17
- </textarea>
18
-
19
- <br />
20
-
21
- <%= note_form.label :language, t("txt.common.language") %>
22
- <%= note_form.select :language, options_for_language_select(note.new_record? ? @label.language : note.language) %>
23
-
24
- <br />
25
- <% else %>
26
-
27
- <label><%= t("txt.common.value") %></label>
28
- <span><%= note.value %></span>
29
- <br/>
30
-
31
- <% note.annotations.each do |na| %>
32
- <label><%= na.identifier %></label>
33
- <span><%= na.value %></span>
34
- <br/>
35
- <% end %>
36
-
37
- <% end %>
38
-
39
- <%#= note_form.check_box :"_destroy" %>
40
- <%#= note_form.label :"_destroy", t("txt.views.labels.edit.delete") %>
41
- <% end %>
42
- </li>
43
- <% end %>
44
- </ol>
45
- <input type="button" value="<%= t("txt.common.add_note") %>">
46
- </fieldset>
@@ -1,6 +0,0 @@
1
- <%- if label.expired_at -%>
2
- <h4><%= t("txt.views.labels.expired_at") %></h4>
3
- <div class="relation">
4
- <%= l(label.expired_at)%>
5
- </div>
6
- <%- end -%>
@@ -1,7 +0,0 @@
1
- <li>
2
- <%= link_to(label_relation.range.value, label_path(:id => label_relation.range)) %>
3
- <%= link_to(image_tag("note_edit.png"), edit_label_relation_path(:id => label_relation)) %>
4
- <%= link_to(image_tag("note_delete.png"), label_relation_path(:id => label_relation),
5
- :method => :delete,
6
- :confirm => t("txt.views.labels.edit.delete_confirm")) %>
7
- </li>
@@ -1,3 +0,0 @@
1
- <li>
2
- <%= link_to labeling.owner.pref_label, concept_path(:id => labeling.owner) %>
3
- </li>
@@ -1,33 +0,0 @@
1
- <fieldset id="label_<%= klass %>_data" class="note_relation">
2
- <legend><%= t("txt.common.#{klass}", :count => 2) %></legend>
3
- <ol>
4
- <% @label.send(klass.pluralize).each do |note| %>
5
- <li class="inline_note<%= " new" if note.new_record? %>">
6
- <%= f.fields_for :"#{klass.pluralize}", note do |note_form| %>
7
- <%= note_form.label :value, t("txt.common.#{klass}", :count => 1) %>
8
- <%= note_form.text_area :value, :rows => 5, :cols => 40 %>
9
-
10
- <br />
11
-
12
- <% if klass == "umt_change_note" %>
13
- <label><%= t("txt.common.note_annotation", :count => 2) %></label>
14
- <textarea disabled="true" rows="3" cols="40">
15
- <%= note.annotations.map { |na| "#{na.identifier} #{na.value}" }.join("\n") %>
16
- </textarea>
17
-
18
- <br />
19
- <% end %>
20
-
21
- <%= note_form.label :language, t("txt.common.language") %>
22
- <%= note_form.select :language, options_for_language_select(note.new_record? ? @label.language : note.language) %>
23
-
24
- <br />
25
-
26
- <%= note_form.check_box :"_destroy" %>
27
- <%= note_form.label :"_destroy", t("txt.common.delete") %>
28
- <% end %>
29
- </li>
30
- <% end %>
31
- </ol>
32
- <input type="button" value="<%= t("txt.common.add_note") %>">
33
- </fieldset>
@@ -1,22 +0,0 @@
1
- <%- published_param = @label.published? ? nil : 0 %>
2
- <%= content_for :head do -%>
3
- <link href="<%= rdf_url(@label.origin, :format => :ttl, :published => published_param, :lang => nil) %>" type="text/turtle" rel="alternate" title=""/>
4
- <link href="<%= rdf_url(@label.origin, :format => :rdf, :published => published_param, :lang => nil) %>" type="application/rdf+xml" rel="alternate" title=""/>
5
- <% end -%>
6
-
7
- <h2><%= @label.class.model_name.human %>:
8
- <%= @label.origin %>
9
- <%- if !@label.published? %>
10
- (<%= t('txt.common.unpublished_version') %>)
11
- <%- end -%>
12
- </h2>
13
-
14
- <div id="abstract_uri">
15
- <%= rdf_url(@label.origin, :format => nil, :published => published_param, :lang => nil) %>
16
- (<%= link_to "Turtle", rdf_url(@label.origin, :format => :ttl, :published => published_param, :lang => nil) %>,
17
- <%= link_to "RDF/XML", rdf_url(@label.origin, :format => :rdf, :published => published_param, :lang => nil) %>)
18
- </div>
19
-
20
- <%- if @label.expired_at -%>
21
- <h4><%= t('txt.views.concepts.expired_at', :date => l(@label.expired_at, :format => :long)) %></h4>
22
- <%- end -%>
@@ -1 +0,0 @@
1
- <%= render_ttl_for_label(@label) %>
@@ -1,4 +0,0 @@
1
- # encoding: UTF-8
2
-
3
- require Iqvoc::Engine.find_root_with_flag("app").join("test").join("unit").
4
- join("hygiene_test")