Project

General

Profile

« Previous | Next » 

Revision 5738

remove old annotation details template

View differences:

lib/style/skins/semtools/annotation-root.xsl
52 52
			<tr>
53 53
				<td>
54 54
					<!-- annotation summary -->
55
					<xsl:call-template name="annotationSearchResult" />
55
					<xsl:call-template name="annotationSummary" />
56 56
				</td>
57 57
			</tr>
58 58
			
......
94 94
		
95 95
	</xsl:template>
96 96
	
97
	<xsl:template name="annotationSearchResult">
97
	<xsl:template name="annotationSummary">
98 98
		<table class="subGroup subGroup_border onehundred_percent">
99 99
			<tr>
100 100
				<th colspan="2">
......
165 165
     	</table>
166 166
	</xsl:template>
167 167
	
168
	<xsl:template name="annotationSummary">
169
		<table class="subGroup subGroup_border">
170
			<tr>
171
				<th colspan="2">
172
					Details
173
				</th>
174
			</tr>
175
			<tr>
176
				<td class="rowodd">
177
     				Annotation:
178
     			</td>
179
     			<td class="roweven">
180
     				<a>
181
						<xsl:attribute name="href">
182
							<xsl:value-of select="$tripleURI"/><xsl:value-of select="./@id"/>
183
						</xsl:attribute>
184
						<xsl:value-of select="./@id"/>
185
					</a>
186
										
187
					<!-- stats -->
188
					<span id="annotationStats"></span>
189
					<script language="JavaScript">
190
						loadStats(
191
							'annotationStats', 
192
							'<xsl:value-of select="./@id" />', 
193
							'<xsl:value-of select="$contextURL" />/metacat',
194
							'<xsl:value-of select="$qformat" />');
195
					</script>
196
					
197
				</td>	
198
			</tr>
199
			<tr>
200
				<td class="rowodd">
201
     				Data Package:
202
     			</td>
203
     			<td class="roweven">
204
     				<a>
205
						<xsl:attribute name="href">
206
							<xsl:value-of select="$tripleURI"/><xsl:value-of select="./@emlPackage"/>
207
						</xsl:attribute>
208
						<xsl:value-of select="./@emlPackage"/>
209
					</a>
210
											
211
					<!-- stats -->
212
					<span id="emlStats"></span>
213
					<script language="JavaScript">
214
						loadStats(
215
							'emlStats', 
216
							'<xsl:value-of select="./@emlPackage" />', 
217
							'<xsl:value-of select="$contextURL" />/metacat',
218
							'<xsl:value-of select="$qformat" />');
219
					</script>
220
						
221
				</td>
222
     		</tr>
223
     		<tr>	
224
				<td class="rowodd">
225
     				Data Table:
226
     			</td>
227
     			<td class="roweven">
228
     				<a>
229
						<xsl:attribute name="href">
230
							<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"/>
231
						</xsl:attribute>
232
						<xsl:value-of select="./@dataTable"/>
233
					</a>	
234
				</td>
235
     		</tr>
236
     	</table>
237
	</xsl:template>
238
	
239 168
	<xsl:template name="observation">
240 169
		<table class="onehundred_percent">
241 170
			<tr>

Also available in: Unified diff