forked from ontoportal/ontoportal_web_ui
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: AGROVOC concept seed not displaying and a better handling of con…
…cept not in a scheme information (#355) * Fix bug of roots * fix JQuery simple tree script removing css class of elements on click * add concept tree links muted title text if skos and not in a scheme * make the concept_scheme request parameter nil if ressource is not skos * optimimze the build tree function by passing to the childs the acronym instead of requesting ontology.aconym for each child --------- Co-authored-by: Syphax Bouazzouni <[email protected]>
- Loading branch information
1 parent
0935380
commit afd2472
Showing
7 changed files
with
31 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
- output ="" | ||
- for child in @children | ||
- output << tree_link_to_concept(child: child, ontology_acronym: child.explore.ontology.acronym, active_style: '', node: @concept) | ||
- output << tree_link_to_concept(child: child, ontology_acronym: @ontology.acronym, active_style: '', node: @concept, skos: [email protected]?) | ||
- if child.hasChildren | ||
- output << tree_link_to_children(child: child, concept_schemes: @schemes) | ||
- output << tree_link_to_children(child: child, acronym: @ontology.acronym, concept_schemes: @schemes) | ||
- output << "</li>" | ||
= raw output |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters