lib/adiwg/mdtranslator/writers/html/sections/html_geographicExtent.rb in adiwg-mdtranslator-2.3.2 vs lib/adiwg/mdtranslator/writers/html/sections/html_geographicExtent.rb in adiwg-mdtranslator-2.3.3
- old
+ new
@@ -31,9 +31,17 @@
# geographic extent - contains data {Boolean}
@html.em('Geographic Extent Encompasses Data: ')
@html.text!(hExtent[:containsData].to_s)
@html.br
+ # geographic extent - description
+ unless hExtent[:description].nil?
+ @html.em('Geographic Description: ')
+ @html.section(:class => 'block') do
+ @html.text!(hExtent[:description])
+ end
+ end
+
# geographic extent - map {div}
@html.details do
@html.summary('Map', 'class' => 'h5 map-summary')
@html.section(:class => 'block') do
@html.div('class' => 'map', 'id' => 'map') do