Revision 5825
Added by Jing Tao almost 14 years ago
lib/style/common/scheduledWorkflowResultset.xsl | ||
---|---|---|
65 | 65 |
<xsl:value-of select='./name' /> |
66 | 66 |
</div> |
67 | 67 |
<div class="col col2"> |
68 |
<xsl:value-of select='./status' /> |
|
68 |
<!--<xsl:value-of select='./status' /> --> |
|
69 |
<xsl:choose> |
|
70 |
<xsl:when test="./status = 'scheduled'"> |
|
71 |
Enabled |
|
72 |
</xsl:when> |
|
73 |
<xsl:otherwise> |
|
74 |
Disabled |
|
75 |
</xsl:otherwise> |
|
76 |
</xsl:choose> |
|
69 | 77 |
</div> |
70 | 78 |
<div class="col col3"> |
71 | 79 |
<xsl:value-of select='./startTime' /> |
... | ... | |
82 | 90 |
<xsl:when test="./status = 'scheduled'"> |
83 | 91 |
<xsl:attribute name="class">underlined</xsl:attribute> |
84 | 92 |
<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 |
Unschedule
|
|
93 |
Disable
|
|
86 | 94 |
</xsl:when> |
87 | 95 |
<xsl:otherwise> |
88 | 96 |
<xsl:attribute name="class">underlined</xsl:attribute> |
89 | 97 |
<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 |
Reschedule
|
|
98 |
Enable
|
|
91 | 99 |
</xsl:otherwise> |
92 | 100 |
</xsl:choose> |
93 | 101 |
</a>| |
Also available in: Unified diff
Change unschedule to disable, reschedule to enable.