Project

General

Profile

« Previous | Next » 

Revision 5080

Added by daigle about 15 years ago

Only allow workflows with kars that have user write permissions to be scheduled.

View differences:

lib/style/skins/sanparks/sanparks.css
584 584
    font-weight: bold;
585 585
}
586 586

  
587
.warning-header {
588
	color: red;
589
	font-size: 14px;
590
	margin-bottom: 10px;
591
}
587 592

  
593

  
588 594
.emphasis {
589 595
    font-weight: bold;
590 596
    font-size: 18px;
lib/style/common/scheduledWorkflowResultset.xsl
79 79
							<xsl:choose>
80 80
							<xsl:when test="./status = 'scheduled'">
81 81
								<xsl:attribute name="class">underlined</xsl:attribute>
82
								<xsl:attribute name="href"><xsl:value-of select='$servletURL' />?action=unscheduleWorkflow&amp;workflowjobname=<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
								<xsl:attribute name="href"><xsl:value-of select='$servletURL' />?action=unscheduleWorkflow&amp;workflowjobname=<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;karid=<xsl:value-of select='./jobParam[@name=&apos;karid&apos;]/value' />&amp;qformat=<xsl:value-of select='$qformat' />&amp;forwardto=scheduleWorkflowRun.jsp</xsl:attribute>
83 83
								Unschedule
84 84
							</xsl:when>
85 85
							<xsl:otherwise>
86 86
								<xsl:attribute name="class">underlined</xsl:attribute>
87
								<xsl:attribute name="href"><xsl:value-of select='$servletURL' />?action=rescheduleWorkflow&amp;workflowjobname=<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
								<xsl:attribute name="href"><xsl:value-of select='$servletURL' />?action=rescheduleWorkflow&amp;workflowjobname=<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;karid=<xsl:value-of select='./jobParam[@name=&apos;karid&apos;]/value' />&amp;qformat=<xsl:value-of select='$qformat' />&amp;forwardto=scheduleWorkflowRun.jsp</xsl:attribute>
88 88
								Reschedule
89 89
							</xsl:otherwise>
90 90
							</xsl:choose>

Also available in: Unified diff