Skip to content

Commit

Permalink
put temporary help message in summary page section
Browse files Browse the repository at this point in the history
  • Loading branch information
syphax-bouazzouni committed Aug 28, 2023
1 parent 2c1bd9a commit 9153442
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions app/views/ontologies/sections/_metadata.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
= render partial: 'ontologies/sections/metadata/ontology_metrics_section'
.summary-page-second-row
= ontology_depiction_card
= properties_card('Identifiers','text to describe identifiers section', @identifiers) do |values|
= properties_card('Identifiers','Principal identifiers of the ontology', @identifiers) do |values|
= horizontal_list_container(values) do |v|
= render LinkFieldComponent.new(value: v)

Expand All @@ -21,9 +21,9 @@
= render ChipButtonComponent.new(type: "static",'data-controller':' tooltip', title: '', class: 'text-truncate', style: 'max-width: 280px; display:block; line-height: unset') do
= display_agent(v, link: false)

= properties_dropdown('link','Links','hiba', @links_properties)
= properties_dropdown('link','Links','Metadata properties that highlight the links enabling access to datasets, downloading semantic resources, etc', @links_properties)

= properties_dropdown('projects_section','Projects and usage information','hiba', nil) do |c|
= properties_dropdown('projects_section','Projects and usage information','Details pertaining to the utilization of the ontology.', nil) do |c|
- c.row do
= render FieldContainerComponent.new do |f|
- f.label do
Expand All @@ -37,7 +37,7 @@
= render ChipButtonComponent.new(url: project_path(project.acronym), text: project.name, type: "clickable")
- properties_list_component(c, @projects_properties)

= properties_dropdown('methodology','Methodology', 'Methodology help', @methodology_properties)
= properties_dropdown('methodology','Methodology', 'Metadata properties primarily encompass the design, methods, and actions to create the ontology. This includes elements such as the tools and software employed by the creator of the ontology during its configuration', @methodology_properties)

= render Layout::CardComponent.new do |c|
- c.header do |h|
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
= render SummarySectionComponent.new(title: "Metrics" , link: Rails.configuration.settings.links[:metrics], link_title: "View individual metrics definitions", show_card: false) do
= render SummarySectionComponent.new(title: "Metrics" , link: Rails.configuration.settings.links[:metrics], link_title: "Metadata properties that provide information about measurements of the ontology, such as the number of classes, individuals, etc.", show_card: false) do
- if @metrics.nil? || (@metrics.is_a?(Array) && @metrics.empty?) || (@metrics.respond_to?(:status) && @metrics.status == 404)
= empty_state_message("We have not yet calculated metrics for #{@ontology.acronym}")
- else
Expand Down

0 comments on commit 9153442

Please sign in to comment.