Skip to content

Commit

Permalink
Labels: Using configuration parameter to show/hide the change notes i…
Browse files Browse the repository at this point in the history
…n the RDF representation.

Belongs to innoq/iqvoc_umt#598
  • Loading branch information
pschijven committed Nov 10, 2023
1 parent 16f4879 commit a643dd9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
GIT
remote: https://github.com/innoq/iqvoc.git
revision: 857b251d20a4794968b81abb3481e522ca63eb3b
revision: 0ba8a25d841ad98065b07f8d44103a0132c93b9b
branch: master
specs:
iqvoc (4.14.2)
iqvoc (4.14.3)
apipie-rails
authlogic
bootsnap
Expand Down
6 changes: 4 additions & 2 deletions app/helpers/labels_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ def render_label_rdf(document, label)
relation.build_rdf(document, c)
end

label.notes.each do |note|
note.build_rdf(document, c)
if Iqvoc::rdf_show_change_notes
label.notes.each do |note|
note.build_rdf(document, c)
end
end

Iqvoc::XLLabel.additional_association_class_names.keys.each do |class_name|
Expand Down

0 comments on commit a643dd9

Please sign in to comment.