Skip to content

Commit

Permalink
fixed languages display on the ontology metadata page
Browse files Browse the repository at this point in the history
  • Loading branch information
mdorf committed Sep 11, 2024
1 parent 15c4497 commit 297a6ba
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
13 changes: 7 additions & 6 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ GEM
racc (~> 1.4)
nokogiri (1.16.7-x86_64-linux)
racc (~> 1.4)
oj (3.16.5)
oj (3.16.6)
bigdecimal (>= 3.0)
ostruct (>= 0.2)
open_uri_redirections (0.2.1)
Expand Down Expand Up @@ -321,7 +321,7 @@ GEM
json
redis (4.8.1)
regexp_parser (2.9.2)
reline (0.5.9)
reline (0.5.10)
io-console (~> 0.5)
rest-client (2.1.0)
http-accept (>= 1.7.0, < 2.0)
Expand All @@ -331,7 +331,7 @@ GEM
rexml (3.3.7)
rspec-core (3.13.1)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.2)
rspec-expectations (3.13.3)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-mocks (3.13.1)
Expand Down Expand Up @@ -373,19 +373,20 @@ GEM
sprockets-rails
tilt
select2-rails (4.0.13)
sexp_processor (4.17.0)
sexp_processor (4.17.2)
sprockets (4.2.1)
concurrent-ruby (~> 1.0)
rack (>= 2.2.4, < 4)
sprockets-rails (3.5.2)
actionpack (>= 6.1)
activesupport (>= 6.1)
sprockets (>= 3.0.0)
sshkit (1.23.0)
sshkit (1.23.1)
base64
net-scp (>= 1.1.2)
net-sftp (>= 2.1.2)
net-ssh (>= 2.8.0)
ostruct
stackprof (0.2.26)
stimulus-rails (1.3.4)
railties (>= 6.0.0)
Expand All @@ -399,7 +400,7 @@ GEM
rack (>= 1, < 3)
thor (1.3.2)
tilt (2.4.0)
time (0.3.0)
time (0.4.0)
date
timeout (0.4.1)
turbo-rails (2.0.6)
Expand Down
1 change: 1 addition & 0 deletions app/views/ontologies/_metadata.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
%tr
%td Groups
%td= groups.map {|g| groups_hash[g].name}.sort.join(", ")
- unless @submission_latest.naturalLanguage.empty?
%tr
%td Language
%td= abbreviations_to_languages(@submission_latest.naturalLanguage).join(", ")
Expand Down

0 comments on commit 297a6ba

Please sign in to comment.