Project

General

Profile

« Previous | Next » 

Revision 42097

more info

View differences:

wf_profile2html.xslt
52 52
                        	<xsl:for-each select="//DATASOURCE">
53 53
                        		<wf-form-row-link name="Datasource" value="{@name}" url="workflows.do#/api/{@id}/{@interface}"/>
54 54
                        		<wf-form-row-static name="Interface" value="{@interface}"/>
55
                        		<hr/>
55

  
56
                        		<xsl:if test=".//INTERFACE_EXTRA_FIELD[@name = 'last_collection_date'] and .//INTERFACE_EXTRA_FIELD[@name = 'last_collection_mdId'] and .//INTERFACE_EXTRA_FIELD[@name = 'last_collection_total']">
57
									<div class="form-group">
58
										<label class="col-sm-3 control-label">Last collection</label>
59
										<div class="col-sm-9">
60
											<p class="form-control-static">
61
												<xsl:value-of select=".//INTERFACE_EXTRA_FIELD[@name = 'last_collection_date']" />
62
												<a class="pull-right" href="../inspector/mdstore.do?id={.//INTERFACE_EXTRA_FIELD[@name = 'last_collection_mdId']}">
63
													<b>total:</b> 
64
													<xsl:value-of select="concat(' ', .//INTERFACE_EXTRA_FIELD[@name = 'last_collection_total'])" />
65
												</a>
66
											</p>
67
										</div>
68
									</div>						
69
								</xsl:if>
70
								
71
								<xsl:if test=".//INTERFACE_EXTRA_FIELD[@name = 'last_aggregation_date'] and .//INTERFACE_EXTRA_FIELD[@name = 'last_aggregation_mdId'] and .//INTERFACE_EXTRA_FIELD[@name = 'last_aggregation_total']">
72
									<div class="form-group">
73
										<label class="col-sm-3 control-label">Last aggregation</label>
74
										<div class="col-sm-9">
75
											<p class="form-control-static">
76
												<xsl:value-of select=".//INTERFACE_EXTRA_FIELD[@name = 'last_aggregation_date']" />
77
												<a class="pull-right" href="../inspector/mdstore.do?id={.//INTERFACE_EXTRA_FIELD[@name = 'last_aggregation_mdId']}">
78
													<b>total:</b> 
79
													<xsl:value-of select="concat(' ', .//INTERFACE_EXTRA_FIELD[@name = 'last_aggregation_total'])" />
80
												</a>
81
											</p>
82
										</div>
83
									</div>						
84
								</xsl:if>
85
								
86
								<xsl:if test=".//INTERFACE_EXTRA_FIELD[@name = 'last_download_date'] and .//INTERFACE_EXTRA_FIELD[@name = 'last_download_objId'] and .//INTERFACE_EXTRA_FIELD[@name = 'last_download_total']">
87
									<div class="form-group">
88
										<label class="col-sm-3 control-label">Last download</label>
89
										<div class="col-sm-9">
90
											<p class="form-control-static">
91
												<xsl:value-of select=".//INTERFACE_EXTRA_FIELD[@name = 'last_download_date']" />
92
												<a class="pull-right" href="objectstoreInspector.do#/inspect.do/{.//INTERFACE_EXTRA_FIELD[@name = 'last_download_objId']}">
93
													<b>total:</b> 
94
													<xsl:value-of select="concat(' ', .//INTERFACE_EXTRA_FIELD[@name = 'last_download_total'])" />
95
												</a>
96
											</p>
97
										</div>
98
									</div>						
99
								</xsl:if>
100
								<hr/>
56 101
                        	</xsl:for-each>
57 102
                        
58 103
                            <wf-form-row-link name="Profile ID" value="{$id}" url="isManager.do#/profile/{$id}"/>

Also available in: Unified diff