Skip to content

Commit 0c99ac4

Browse files
committed
Mapping for all subject items
1 parent a78de93 commit 0c99ac4

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

public/xsl/rev2-subject.xsl

+17-1
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@
572572
<xsl:value-of select="$citationView"/><xsl:if test="//oc:metadata/dc:identifier[@type ='doi']">DOI:<a><xsl:attribute name="href"><xsl:value-of select="//oc:metadata/dc:identifier[@type ='doi']/@href"/></xsl:attribute><xsl:value-of select="//oc:metadata/dc:identifier[@type ='doi']"/></a></xsl:if>
573573
</div>
574574

575-
575+
<!--
576576
<xsl:if test="//dc:subject = 'DINAA'">
577577
<br/>
578578
<br/>
@@ -581,6 +581,14 @@
581581
582582
</div>
583583
</xsl:if>
584+
-->
585+
586+
<br/>
587+
<br/>
588+
<h5>Mapping Data</h5>
589+
<div id="map" style="height:180px;">
590+
591+
</div>
584592

585593

586594
<xsl:if test="count(descendant::arch:spatialUnit/oc:social_usage/oc:user_tags/oc:tag[@status='public']) != 0">
@@ -877,6 +885,14 @@
877885

878886
<div id="#geo-data">
879887
<div id="geo-note" about="" property="dcterms:description"><xsl:value-of select="//oc:metadata/oc:geo_reference/oc:metasource/oc:note"/></div>
888+
<xsl:choose>
889+
<xsl:when test="//oc:metadata/oc:geo_reference/oc:metasource/@ref_type = 'self'">
890+
<div id="geo-source">Spatial reference specified for this item.</div>
891+
</xsl:when>
892+
<xsl:otherwise>
893+
<div id="geo-source">Spatial reference inferred from containment in <a><xsl:attribute name="href"><xsl:value-of select="//oc:metadata/oc:geo_reference/oc:metasource/@href"/></xsl:attribute><xsl:value-of select="//oc:metadata/oc:geo_reference/oc:metasource/oc:source_name"/></a>.</div>
894+
</xsl:otherwise>
895+
</xsl:choose>
880896
</div>
881897

882898

0 commit comments

Comments
 (0)