Project

General

Profile

« Previous | Next » 

Revision 5739

make links more intuitive with () and formatting

View differences:

lib/style/skins/semtools/resultset.xsl
119 119
							<xsl:value-of select="./param[@name='dataset/title']"/>
120 120
						</b>
121 121
					</a>
122
					
122 123
					(<xsl:value-of select="./docid" />)
124
					
123 125
				</div>
124 126
				
125 127
				<!-- the content part -->	
......
196 198
					<xsl:text>. </xsl:text>
197 199
					<!-- the pubdate -->
198 200
					<xsl:value-of select="substring(string(./param[@name='dataset/pubDate']),1,4)"/>
199
   								<xsl:if test="substring(string(./param[@name='dataset/pubDate']),1,4) != ''">. </xsl:if>
201
   					<xsl:if test="substring(string(./param[@name='dataset/pubDate']),1,4) != ''">. </xsl:if>
202
   					<!-- the title -->
203
   					<xsl:value-of select="./param[@name='dataset/title']"/>
204
   					<xsl:text>. </xsl:text>
205
   					<!-- the id -->
206
   					<xsl:value-of select="./docid"/>
207
   					<xsl:text>. </xsl:text>
208
   					<br/>
200 209
					<!-- the link -->
201
					<a>
210
					(<a>
202 211
						<xsl:attribute name="href">
203 212
							<xsl:value-of select="$tripleURI"/><xsl:value-of select="./docid"/>
204 213
						</xsl:attribute>
205 214
						<xsl:value-of select="$contextURL" /><![CDATA[/metacat/]]><xsl:value-of select="./docid"/><![CDATA[/]]><xsl:value-of select="$qformat" />										
206
					</a>
215
					</a>)
207 216
				</td>
208 217
			</tr>		
209 218
		</table>
......
214 223
		<table class="subGroup subGroup_border onehundred_percent">
215 224
			<tr>
216 225
				<th>
217
					Owner[s]
226
					Owners
218 227
				</th>
219 228
				<th>
220
					Organizations[s]
229
					Organizations
221 230
				</th>
222 231
				<th>
223
					Keyword[s]
232
					Keywords
224 233
				</th>
225 234
			</tr>
226 235
			<tr>
lib/style/skins/semtools/annotation-root.xsl
121 121
				<xsl:variable name="mapCount">
122 122
					<xsl:value-of select="count(./*[local-name()='map'])"/>
123 123
				</xsl:variable>
124
				<td class="rowodd">
125
					Data Table (<xsl:value-of select="./@dataTable"/>):
124
				<td class="rowodd" width="33%">
125
					Data Table <xsl:value-of select="./@dataTable"/>:
126 126
     			</td>
127 127
     			<td class="roweven">
128
     				<a>
128
     				<xsl:for-each select="./*[local-name()='map']">
129
     					<xsl:value-of select="./@attribute"/>
130
     					<xsl:if test="position() != last()">, </xsl:if>
131
     				</xsl:for-each>
132
     				(<a>
129 133
						<xsl:attribute name="href">
130 134
							<xsl:value-of select="$tripleURI"/><xsl:value-of select="./@emlPackage"/>&amp;displaymodule=entity&amp;entitytype=dataTable&amp;entityindex=<xsl:value-of select="number(./@dataTable)+1"/>&amp;annotationId=<xsl:value-of select="./@id"/>
131 135
						</xsl:attribute>
132
						
133
	     				<xsl:for-each select="./*[local-name()='map']">
134
	     					<xsl:value-of select="./@attribute"/>
135
	     					<xsl:if test="position() != last()">, </xsl:if>
136
	     				</xsl:for-each>
137
	     				(<xsl:value-of select="$mapCount"/> attributes)	
138
					</a>	
136
	     				<xsl:value-of select="$mapCount"/>
137
	     				<xsl:text> attributes</xsl:text>	
138
					</a>)
139 139
     			</td>
140 140
     		</tr>
141 141
			<tr>
142 142
				<td class="rowodd">
143
     				Data Package (<xsl:value-of select="./@emlPackage"/>):
143
     				Data Package:
144 144
     			</td>
145 145
     			<td class="roweven">
146
     				<a>
146
     				<xsl:value-of select="./@emlPackage"/>
147
     				(<a>
147 148
						<xsl:attribute name="href">
148 149
							<xsl:value-of select="$tripleURI"/><xsl:value-of select="./@emlPackage"/>
149 150
						</xsl:attribute>
150
						View Metadata
151
					</a>
151
						<xsl:text>View Metadata</xsl:text>
152
					</a>)
152 153
											
153 154
					<!-- stats -->
154 155
					<span id="emlStats"></span>

Also available in: Unified diff