Browse Source

Add a span and class to the dsid portion of title for styling, not sure if it's exactly valid HTML but enables hiding via CSS

pull/185/head
Mitch MacKenzie 12 years ago
parent
commit
9a23050b94
  1. 2
      object_details_xslts/convertQDC.xsl
  2. 2
      object_details_xslts/mods2html.xsl

2
object_details_xslts/convertQDC.xsl

@ -9,7 +9,7 @@
<xsl:template match="/">
<div><table cellspacing="3" cellpadding="3"><tbody>
<tr><th colspan="3"><h3 class="islandora-obj-details-metadata-title">Metadata (DC)</h3></th></tr>
<tr><th colspan="3"><h3 class="islandora-obj-details-metadata-title">Metadata <span class="islandora-obj-details-dsid">(DC)</span></h3></th></tr>
<xsl:for-each select="/*/*">
<xsl:variable name="FULLFIELD" select="name()"/>
<xsl:variable name="FIELD" select="local-name()"/>

2
object_details_xslts/mods2html.xsl

@ -51,7 +51,7 @@
<xsl:template match="mods:mods">
<table class="modsContainer">
<tr><th colspan="2"><h3 class="islandora-obj-details-metadata-title">Metadata (MODS)</h3></th></tr>
<tr><th colspan="2"><h3 class="islandora-obj-details-metadata-title">Metadata <span class="islandora-obj-details-dsid">(MODS)</span></h3></th></tr>
<xsl:apply-templates/>
</table>
<!--hr/-->

Loading…
Cancel
Save