Project

General

Profile

« Previous | Next » 

Revision 5027

Added by daigle over 14 years ago

Change MetaCatVersion to MetacatVersion

View differences:

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&amp;workflowjobid=<xsl:value-of select='./name' />&amp;qformat=<xsl:value-of select='$qformat' />&amp;forwardto=scheduleWorkflowRun.jsp</xsl:attribute>
82
								<xsl:attribute name="href"><xsl:value-of select='$webServletURL' />?action=unscheduleWorkflow&amp;workflowjobid=<xsl:value-of select='./name' />&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;qformat=<xsl:value-of select='$qformat' />&amp;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&amp;workflowjobid=<xsl:value-of select='./name' />&amp;qformat=<xsl:value-of select='$qformat' />&amp;forwardto=scheduleWorkflowRun.jsp</xsl:attribute>
87
								<xsl:attribute name="href"><xsl:value-of select='$webServletURL' />?action=rescheduleWorkflow&amp;workflowjobid=<xsl:value-of select='./name' />&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;qformat=<xsl:value-of select='$qformat' />&amp;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&amp;workflowjobid=<xsl:value-of select='./name' />&amp;qformat=<xsl:value-of select='$qformat' />&amp;forwardto=scheduleWorkflowRun.jsp</xsl:attribute>
96
								<xsl:attribute name="href"><xsl:value-of select='$webServletURL' />?action=deleteScheduledWorkflow&amp;workflowjobid=<xsl:value-of select='./name' />&amp;&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;qformat=<xsl:value-of select='$qformat' />&amp;forwardto=scheduleWorkflowRun.jsp</xsl:attribute>
96 97
								Delete	
97 98
							</a>
98 99
						</xsl:when>

Also available in: Unified diff