lib/adiwg/mdtranslator/writers/html/sections/html_body.rb in adiwg-mdtranslator-2.18.4 vs lib/adiwg/mdtranslator/writers/html/sections/html_body.rb in adiwg-mdtranslator-2.19.0.pre.beta.7
- old
+ new
@@ -69,10 +69,11 @@
# add section buttons
@html.a(' Top', {'href' => '#', 'class' => 'btn'})
@html.a(' Contacts', {'href' => '#body-contacts', 'class' => 'btn navBtn', 'id' => 'contactButton'})
@html.a(' Metadata', {'href' => '#body-metadataInfo', 'class' => 'btn navBtn', 'id' => 'metadataButton'})
@html.a(' Resource', {'href' => '#body-resourceInfo', 'class' => 'btn navBtn', 'id' => 'resourceButton'})
+ @html.a(' Quality', {'href' => '#body-dataQuality', 'class' => 'btn navBtn', 'id' => 'qualityButton'})
@html.a(' Lineage', {'href' => '#body-lineage', 'class' => 'btn navBtn', 'id' => 'lineageButton'})
@html.a(' Distribution', {'href' => '#body-distribution', 'class' => 'btn navBtn', 'id' => 'distributionButton'})
@html.a(' Associated', {'href' => '#body-associatedResource', 'class' => 'btn navBtn', 'id' => 'associatedButton'})
@html.a(' Additional', {'href' => '#body-additionalDocument', 'class' => 'btn navBtn', 'id' => 'additionalButton'})
@html.a(' Dictionary', {'href' => '#body-dataDictionary', 'class' => 'btn navBtn', 'id' => 'dictionaryButton'})
@@ -167,10 +168,13 @@
unless aDataQuality.nil? || aDataQuality.empty?
@html.details do
@html.summary('Data Quality', {'id' => 'body-dataQuality', 'class' => 'h2'})
aDataQuality.each do |hDataQuality|
@html.section(:class => 'block') do
- dataQualityClass.writeHtml(hDataQuality)
+ @html.details do
+ @html.summary('Quality', {'class' => 'h3'})
+ dataQualityClass.writeHtml(hDataQuality)
+ end
end
end
end
end