Project

General

Profile

« Previous | Next » 

Revision 5700

make call to load stats when displaying the data package information

View differences:

lib/style/shared/eml-2/eml-identifier.xsl
46 46
        <tr>
47 47
          <td class="{$IDfirstColStyle}">Identifier:</td>
48 48
          <td class="{$IDsecondColStyle}"><xsl:value-of select="$packageID"/>
49
          	<!-- stats loaded with ajax call -->
50
			<span id="stats"></span>
51
			<script language="JavaScript">
52
				if (window.loadStats) {
53
					loadStats('stats', '<xsl:value-of select="$packageID" />', '<xsl:value-of select="$contextURL" />/metacat');
54
				}
55
			</script>
49 56
          <xsl:if test="normalize-space(../@system)!=''">
50 57
            <xsl:text> (in the </xsl:text>
51 58
            <em class="italic">

Also available in: Unified diff