Revision 5027
Added by daigle over 14 years ago
scheduledWorkflowResultset.xsl | ||
---|---|---|
35 | 35 |
<xsl:param name="qformat">default</xsl:param> |
36 | 36 |
<xsl:param name="enableediting">false</xsl:param> |
37 | 37 |
<xsl:param name="contextURL"/> |
38 |
<xsl:param name="webServletURL"/> |
|
38 | 39 |
|
39 | 40 |
<xsl:template match="/"> |
40 | 41 |
<div class="row row-header" > |
... | ... | |
78 | 79 |
<xsl:choose> |
79 | 80 |
<xsl:when test="./status = 'scheduled'"> |
80 | 81 |
<xsl:attribute name="class">underlined</xsl:attribute> |
81 |
<xsl:attribute name="href"><xsl:value-of select='$contextURL' />/metacat?action=unscheduleWorkflow&workflowjobid=<xsl:value-of select='./name' />&qformat=<xsl:value-of select='$qformat' />&forwardto=scheduleWorkflowRun.jsp</xsl:attribute>
|
|
82 |
<xsl:attribute name="href"><xsl:value-of select='$webServletURL' />?action=unscheduleWorkflow&workflowjobid=<xsl:value-of select='./name' />&workflowname=<xsl:value-of select='./jobParam[@name='workflowname']/value' />&workflowid=<xsl:value-of select='./jobParam[@name='workflowid']/value' />&qformat=<xsl:value-of select='$qformat' />&forwardto=scheduleWorkflowRun.jsp</xsl:attribute>
|
|
82 | 83 |
Unschedule |
83 | 84 |
</xsl:when> |
84 | 85 |
<xsl:otherwise> |
85 | 86 |
<xsl:attribute name="class">underlined</xsl:attribute> |
86 |
<xsl:attribute name="href"><xsl:value-of select='$contextURL' />/metacat?action=rescheduleWorkflow&workflowjobid=<xsl:value-of select='./name' />&qformat=<xsl:value-of select='$qformat' />&forwardto=scheduleWorkflowRun.jsp</xsl:attribute>
|
|
87 |
<xsl:attribute name="href"><xsl:value-of select='$webServletURL' />?action=rescheduleWorkflow&workflowjobid=<xsl:value-of select='./name' />&workflowname=<xsl:value-of select='./jobParam[@name='workflowname']/value' />&workflowid=<xsl:value-of select='./jobParam[@name='workflowid']/value' />&qformat=<xsl:value-of select='$qformat' />&forwardto=scheduleWorkflowRun.jsp</xsl:attribute>
|
|
87 | 88 |
Reschedule |
88 | 89 |
</xsl:otherwise> |
89 | 90 |
</xsl:choose> |
... | ... | |
92 | 93 |
<xsl:when test="./status = 'unscheduled'"> |
93 | 94 |
<a> |
94 | 95 |
<xsl:attribute name="class">underlined</xsl:attribute> |
95 |
<xsl:attribute name="href"><xsl:value-of select='$contextURL' />/metacat?action=deleteScheduledWorkflow&workflowjobid=<xsl:value-of select='./name' />&qformat=<xsl:value-of select='$qformat' />&forwardto=scheduleWorkflowRun.jsp</xsl:attribute>
|
|
96 |
<xsl:attribute name="href"><xsl:value-of select='$webServletURL' />?action=deleteScheduledWorkflow&workflowjobid=<xsl:value-of select='./name' />&&workflowname=<xsl:value-of select='./jobParam[@name='workflowname']/value' />&workflowid=<xsl:value-of select='./jobParam[@name='workflowid']/value' />&qformat=<xsl:value-of select='$qformat' />&forwardto=scheduleWorkflowRun.jsp</xsl:attribute>
|
|
96 | 97 |
Delete |
97 | 98 |
</a> |
98 | 99 |
</xsl:when> |
Also available in: Unified diff
Change MetaCatVersion to MetacatVersion