Revision 5822
Added by Jing Tao almost 14 years ago
lib/style/common/scheduledWorkflowResultset.xsl | ||
---|---|---|
81 | 81 |
<xsl:choose> |
82 | 82 |
<xsl:when test="./status = 'scheduled'"> |
83 | 83 |
<xsl:attribute name="class">underlined</xsl:attribute> |
84 |
<xsl:attribute name="href"><xsl:value-of select='$servletURL' />?action=unscheduleWorkflow&workflowjobname=<xsl:value-of select='./name' />&sessionid=<xsl:value-of select='$sessid' />&authServiceURL=<xsl:value-of select='$authServiceURL' />&authorizationURL=<xsl:value-of select='$authorizationURL' />&qformat=<xsl:value-of select='$qformat' />&forwardto=scheduleWorkflowRun.jsp</xsl:attribute> |
|
84 |
<xsl:attribute name="href"><xsl:value-of select='$servletURL' />?action=unscheduleWorkflow&workflowjobname=<xsl:value-of select='./name' />&sessionid=<xsl:value-of select='$sessid' />&authServiceURL=<xsl:value-of select='$authServiceURL' />&authorizationURL=<xsl:value-of select='$authorizationURL' />&workflowname=<xsl:value-of select='./jobParam[@name='workflowname']/value' />&workflowid=<xsl:value-of select='./jobParam[@name='workflowid']/value' />&karid=<xsl:value-of select='./jobParam[@name='karid']/value' />&qformat=<xsl:value-of select='$qformat' />&forwardto=scheduleWorkflowRun.jsp</xsl:attribute>
|
|
85 | 85 |
Unschedule |
86 | 86 |
</xsl:when> |
87 | 87 |
<xsl:otherwise> |
88 | 88 |
<xsl:attribute name="class">underlined</xsl:attribute> |
89 |
<xsl:attribute name="href"><xsl:value-of select='$servletURL' />?action=rescheduleWorkflow&workflowjobname=<xsl:value-of select='./name' />&sessionid=<xsl:value-of select='$sessid' />&authServiceURL=<xsl:value-of select='$authServiceURL' />&authorizationURL=<xsl:value-of select='$authorizationURL' />&qformat=<xsl:value-of select='$qformat' />&forwardto=scheduleWorkflowRun.jsp</xsl:attribute> |
|
89 |
<xsl:attribute name="href"><xsl:value-of select='$servletURL' />?action=rescheduleWorkflow&workflowjobname=<xsl:value-of select='./name' />&sessionid=<xsl:value-of select='$sessid' />&authServiceURL=<xsl:value-of select='$authServiceURL' />&authorizationURL=<xsl:value-of select='$authorizationURL' />&workflowname=<xsl:value-of select='./jobParam[@name='workflowname']/value' />&workflowid=<xsl:value-of select='./jobParam[@name='workflowid']/value' />&karid=<xsl:value-of select='./jobParam[@name='karid']/value' />&qformat=<xsl:value-of select='$qformat' />&forwardto=scheduleWorkflowRun.jsp</xsl:attribute>
|
|
90 | 90 |
Reschedule |
91 | 91 |
</xsl:otherwise> |
92 | 92 |
</xsl:choose> |
... | ... | |
95 | 95 |
<xsl:when test="./status = 'unscheduled'"> |
96 | 96 |
<a> |
97 | 97 |
<xsl:attribute name="class">underlined</xsl:attribute> |
98 |
<xsl:attribute name="href"><xsl:value-of select='$servletURL' />?action=deleteScheduledWorkflow&workflowjobname=<xsl:value-of select='./name' />&sessionid=<xsl:value-of select='$sessid' />&authServiceURL=<xsl:value-of select='$authServiceURL' />&authorizationURL=<xsl:value-of select='$authorizationURL' />&qformat=<xsl:value-of select='$qformat' />&forwardto=scheduleWorkflowRun.jsp</xsl:attribute> |
|
98 |
<xsl:attribute name="href"><xsl:value-of select='$servletURL' />?action=deleteScheduledWorkflow&workflowjobname=<xsl:value-of select='./name' />&sessionid=<xsl:value-of select='$sessid' />&authServiceURL=<xsl:value-of select='$authServiceURL' />&authorizationURL=<xsl:value-of select='$authorizationURL' />&workflowname=<xsl:value-of select='./jobParam[@name='workflowname']/value' />&workflowid=<xsl:value-of select='./jobParam[@name='workflowid']/value' />&karid=<xsl:value-of select='./jobParam[@name='karid']/value' />&qformat=<xsl:value-of select='$qformat' />&forwardto=scheduleWorkflowRun.jsp</xsl:attribute>
|
|
99 | 99 |
Delete |
100 | 100 |
</a> |
101 | 101 |
</xsl:when> |
Also available in: Unified diff
Add more parameters - workflowid, workflowname and karid to the unscheduleWorkflow, rescheduleWorkflow and delete actions.