Project

General

Profile

« Previous | Next » 

Revision 5825

Added by Jing Tao over 13 years ago

Change unschedule to disable, reschedule to enable.

View differences:

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&amp;workflowjobname=<xsl:value-of select='./name' />&amp;sessionid=<xsl:value-of select='$sessid' />&amp;authServiceURL=<xsl:value-of select='$authServiceURL' />&amp;authorizationURL=<xsl:value-of select='$authorizationURL' />&amp;workflowname=<xsl:value-of select='./jobParam[@name=&apos;workflowname&apos;]/value' />&amp;workflowid=<xsl:value-of select='./jobParam[@name=&apos;workflowid&apos;]/value' />&amp;karid=<xsl:value-of select='./jobParam[@name=&apos;karid&apos;]/value' />&amp;qformat=<xsl:value-of select='$qformat' />&amp;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&amp;workflowjobname=<xsl:value-of select='./name' />&amp;sessionid=<xsl:value-of select='$sessid' />&amp;authServiceURL=<xsl:value-of select='$authServiceURL' />&amp;authorizationURL=<xsl:value-of select='$authorizationURL' />&amp;workflowname=<xsl:value-of select='./jobParam[@name=&apos;workflowname&apos;]/value' />&amp;workflowid=<xsl:value-of select='./jobParam[@name=&apos;workflowid&apos;]/value' />&amp;karid=<xsl:value-of select='./jobParam[@name=&apos;karid&apos;]/value' />&amp;qformat=<xsl:value-of select='$qformat' />&amp;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