Project

General

Profile

« Previous | Next » 

Revision 9145

Add classes and attributes to the object name and online distribution link elements in the MetacatUI theme.

View differences:

lib/style/skins/metacatui/eml-2/eml-physical.xsl
128 128
  <xsl:template name="physicalobjectName">
129 129
    <xsl:param name="physicalfirstColStyle"/>
130 130
    <xsl:for-each select="objectName">
131
      <div class="control-group">
131
      <xsl:variable name="objName"><xsl:value-of select="."/></xsl:variable>
132
      <div class="control-group objectName" data-object-name="{$objName}">
132 133
		<label class="control-label">Object Name</label>
133 134
        <div class="controls controls-well">
134
        	<xsl:value-of select="."/>
135
        	<xsl:value-of select="$objName"/>
135 136
        </div>
136 137
      </div>
137 138
    </xsl:for-each>

Also available in: Unified diff