|
|
<%
bool showBackupError = false;
bool showExportError = false;
if (!(this is SiteAndListExport))
{
%>
|
<%
if (!BackupJobExists ||
SiteBackupJobStatus == SPRunningJobStatus.Succeeded)
{
%>
<%
}
else if (SiteBackupJobStatus == SPRunningJobStatus.Failed)
{
showBackupError = true;
%>
<%
if (IsBackupStatusPage)
{
%>
<%
}
else
{
%>
<%
}
}
else
{
%>
<%
}
}
%>
|
<%
if (!(this is SiteCollectionBackup))
{
%>
|
<%
if (!ExportJobExists ||
ExportJobStatus == SPRunningJobStatus.Succeeded)
{
%>
<%
}
else if (ExportJobStatus == SPRunningJobStatus.Failed)
{
showExportError = true;
%>
<%
if (IsBackupStatusPage)
{
%>
<%
}
else
{
%>
<%
}
}
else
{
%>
<%
}
%>
|
<%
}
%>
<%
if (IsBoxAdmin)
{
%>
|
<%
if (IsTimerServiceRunning)
{
%>
<%
}
else
{
%>
<%
}
%>
|
<%
}
%>