Skip to content

Commit

Permalink
fix the display of definitions and parent (#389)
Browse files Browse the repository at this point in the history
Co-authored-by: Syphax Bouazzouni <[email protected]>
  • Loading branch information
SirineMhedhbi and syphax-bouazzouni authored Nov 27, 2023
1 parent dcfc93f commit b0850fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/properties/_show.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
- c.header(stripped: true) do |t|
- t.add_row({th: 'ID'}, {td: c.concept_properties[:id][:values]}) if c.concept_properties[:id][:values].present?
- t.add_row({th: 'Labels'}, {td: c.concept_properties[:prefLabel][:values]}) if c.concept_properties[:prefLabel][:values].present?
- t.add_row({th: 'Definitions'}, {td: c.concept_properties[:definition][:values]}) if c.concept_properties[:definition][:values].present?
- t.add_row({th: 'Parent'}, {td: c.concept_properties[:parents][:values]}) if c.concept_properties[:parents][:values].present?
- t.add_row({th: 'Definitions'}, {td: c.concept_properties[:definition][:values].join(', ')}) if c.concept_properties[:definition][:values].present?
- t.add_row({th: 'Parent'}, {td: c.concept_properties[:parents][:values].join(', ')}) if c.concept_properties[:parents][:values].present?

0 comments on commit b0850fa

Please sign in to comment.