Revision 5178
Added by ben leinfelder over 14 years ago
searchWorkflowRunResultset.xsl | ||
---|---|---|
50 | 50 |
if there are not then don't show the query results --> |
51 | 51 |
<xsl:if test="count(resultset/document) > 0"> |
52 | 52 |
<xsl:for-each select="resultset/document"> |
53 |
<xsl:sort select='./param[@name="/property[@name='WorkflowRun']/property[@name='startTime']/@value"]' order='descending' />
|
|
54 |
<xsl:sort select='./param[@name="/property[@name='WorkflowRun']/property[@name='workflowName']/@value"]' />
|
|
53 |
<xsl:sort select='./param[@name="/property[@class='org.kepler.util.WorkflowRun']/property[@name='startTime']/@value"]' order='descending' />
|
|
54 |
<xsl:sort select='./param[@name="/property[@class='org.kepler.util.WorkflowRun']/property[@name='workflowName']/@value"]' />
|
|
55 | 55 |
<div> |
56 | 56 |
<xsl:attribute name="class"> |
57 | 57 |
<xsl:choose> |
... | ... | |
61 | 61 |
</xsl:attribute> |
62 | 62 |
|
63 | 63 |
<div class="col col1"> |
64 |
<xsl:value-of select='./param[@name="/property[@name='WorkflowRun']/property[@name='workflowName']/@value"]' />
|
|
64 |
<xsl:value-of select='./param[@name="/property[@class='org.kepler.util.WorkflowRun']/property[@name='workflowName']/@value"]' />
|
|
65 | 65 |
</div> |
66 | 66 |
<div class="col col2"> |
67 | 67 |
<xsl:choose> |
68 |
<xsl:when test="not(./param[@name="/property[@name='WorkflowRun']/property[@name='tpcStatus']/@value"])" >
|
|
68 |
<xsl:when test="not(./param[@name="/property[@class='org.kepler.util.WorkflowRun']/property[@name='tpcStatus']/@value"])" >
|
|
69 | 69 |
unknown |
70 | 70 |
</xsl:when> |
71 | 71 |
<xsl:otherwise> |
72 |
<xsl:value-of select='./param[@name="/property[@name='WorkflowRun']/property[@name='tpcStatus']/@value"]' />
|
|
72 |
<xsl:value-of select='./param[@name="/property[@class='org.kepler.util.WorkflowRun']/property[@name='tpcStatus']/@value"]' />
|
|
73 | 73 |
</xsl:otherwise> |
74 | 74 |
</xsl:choose> |
75 | 75 |
</div> |
76 | 76 |
<div class="col col3"> |
77 |
<xsl:value-of select='./param[@name="/property[@name='WorkflowRun']/property[@name='startTime']/@value"]' />
|
|
77 |
<xsl:value-of select='./param[@name="/property[@class='org.kepler.util.WorkflowRun']/property[@name='startTime']/@value"]' />
|
|
78 | 78 |
</div> |
79 | 79 |
<div class="col col4"> |
80 | 80 |
<a> |
81 | 81 |
<xsl:attribute name="class">underlined</xsl:attribute> |
82 | 82 |
<xsl:attribute name="href"> |
83 |
<xsl:value-of select='$contextURL' />/metacat?action=read&docid=<xsl:value-of select='./param[@name="/property[@name='WorkflowRun']/property[@name='karLSID']/@value"]' />&archiveEntryName=<xsl:value-of select='./param[@name="/property[@name='WorkflowRun']/property[@name='ReportInstance_pdf']/@value"]' />
|
|
83 |
<xsl:value-of select='$contextURL' />/metacat?action=read&docid=<xsl:value-of select='./param[@name="/property[@class='org.kepler.util.WorkflowRun']/property[@name='karLSID']/@value"]' />&archiveEntryName=<xsl:value-of select='./param[@name="/property[@class='org.kepler.util.WorkflowRun']/property[@name='ReportInstance_pdf']/@value"]' />
|
|
84 | 84 |
</xsl:attribute> |
85 | 85 |
|
86 | 86 |
</a> |
Also available in: Unified diff
use @class attribute for path queries rather than @name