|
|
|
|
|
|
<%
if (m_alwfRunning == null || m_alwfRunning.Count <= 0)
{
%>
 |
|
|
 |
<%
}
else
{
string rowClass = "ms-alternating";
foreach (SPWorkflow wf in m_alwfRunning)
{
string strStatusUrl = StatusUrl(wf);
SPWorkflowAssociation wt = wf.ParentAssociation;
string strStatus = StrStatus(wf);
rowClass = (rowClass == "")? "ms-alternating" : "";
%>
 |
|
title=<%SPHttpUtility.AddQuote(SPHttpUtility.HtmlEncode(WorkflowDisplayName(wt)),Response.Output);%>>
<%SPHttpUtility.HtmlEncode(WorkflowDisplayName(wt),Response.Output);%>
|
<% SPHttpUtility.NoEncode(SPFieldDateTime.GetFieldValueAsHtml(wf.Created, Web, SPDateFormat.DateTime),Response.Output); %>
|
|
title=<%SPHttpUtility.AddQuote(SPHttpUtility.NoEncode(strStatus),Response.Output);%>>
<% SPHttpUtility.NoEncode(strStatus,Response.Output); %>
|
<%
}
}
%>
|
|
<%
if (m_alwfCompleted == null || m_alwfCompleted.Count <= 0)
{
%>
 |
|
|
 |
<%
}
else
{
string rowClass = "ms-alternating";
foreach (SPWorkflow wf in m_alwfCompleted)
{
string strStatusUrl = StatusUrl(wf);
SPWorkflowAssociation wt = wf.ParentAssociation;
string strStatus = StrStatus(wf);
rowClass = (rowClass == "")? "ms-alternating" : "";
%>
 |
|
title=<%SPHttpUtility.AddQuote(SPHttpUtility.HtmlEncode(WorkflowDisplayName(wt)),Response.Output);%>>
<%SPHttpUtility.HtmlEncode(WorkflowDisplayName(wt),Response.Output);%>
|
<% SPHttpUtility.NoEncode(SPFieldDateTime.GetFieldValueAsHtml(wf.Created, Web, SPDateFormat.DateTime),Response.Output); %>
|
<%SPHttpUtility.NoEncode(SPFieldDateTime.GetFieldValueAsHtml(wf.Modified, Web, SPDateFormat.DateTime),Response.Output); %>
|
title=<%SPHttpUtility.AddQuote(SPHttpUtility.NoEncode(strStatus),Response.Output);%>>
<% SPHttpUtility.NoEncode(strStatus,Response.Output); %>
|
<%
}
}
}
%>
|