synced and empty($rawMR->changes_count)):?> synced === '1' ? $rawMR->has_conflicts : (bool)$MR->hasNoConflict;?>
status == 'merged' and $MR->removeSourceBranch == '1') ? 'disabled' : '';?> mr->from . html::a($sourceProjectURL, $sourceProjectName . ":" . $MR->sourceBranch, "_blank", "class='btn btn-link btn-active-text' style='color: blue' $sourceDisabled") . $lang->mr->to . html::a($targetProjectURL, $targetProjectName . ":" . $MR->targetBranch, "_blank", "class='btn btn-link btn-active-text' style='color: blue'"); ?>
mr->status;?> syncError) and $MR->synced === '0'):?> syncError;?> mr->statusList, $MR->status);?>
mr->mergeStatus; ?> mr->cantMerge; ?> synced) echo '' . $lang->mr->noChanges . '';?> mr->mergeStatusList, !empty($rawMR->merge_status) ? $rawMR->merge_status : $MR->mergeStatus);?>
mr->MRHasConflicts; ?> mr->hasConflicts : $lang->mr->hasNoConflict);?>
mr->description;?> description) ? $MR->description : $lang->noData; ?>
synced and $rawMR->state == 'opened'): ?>
mr->commandDocument, $httpRepoURL, $MR->sourceBranch, $branchPath, $MR->targetBranch, $branchPath, $MR->targetBranch); ?>
app->getViewType() != 'xhtml'):?>
approvalStatus != 'approved' or (!empty($compile->id) and $compile->status != 'success')) ? ' disabled' : ''; ?> synced and $rawMR->state == 'opened' and !$rawMR->has_conflicts) common::printIcon('mr', 'accept', "mr=$MR->id", $MR, 'button', 'flow', 'hiddenwin', 'mergeButton btn', false, $acceptDisabled, $lang->mr->acceptMR);?> synced and $rawMR->state == 'opened'): ?> has_conflicts or (!empty($compile->id) and $compile->status != 'success') or $MR->approvalStatus == 'approved'):?> id&action=approve", $MR, 'button', 'ok', 'hiddenwin', 'mergeButton', true, 'disabled', $lang->mr->approve);?> id&action=approve", $MR, 'button', 'ok', 'hiddenwin', 'mergeButton btn iframe showinonlybody', true, '', $lang->mr->approve);?> id&action=reject", $MR, 'button', 'bug', 'hiddenwin', 'mergeButton btn iframe showinonlybody', true, ($MR->approvalStatus == 'rejected' ? 'disabled' : ''), $lang->mr->reject);?> id", $MR, 'button', 'off', 'hiddenwin', 'mergeButton');?> id", $MR, 'button', 'edit');?> synced and $rawMR->state == 'closed') common::printIcon('mr', 'reopen', "mr=$MR->id", $MR, 'button', 'restart', 'hiddenwin', 'mergeButton'); ?> id", $MR, 'button', 'trash', 'hiddenwin');?>
compile->job;?>
compileID):?> app->getClientLang(), array('zh-cn','zh-tw')) ? 'w-90px' : 'w-100px'; ?> id)):?>
job->common;?> name;?>
compile->atTime;?> createdDate;?>
compile->result;?> compile->statusList, $compile->status);?>    createLink('job', 'view', "jobID=$compileJob->id&compileID=$compile->id", '', true), "{$lang->compile->logs}", "", "class='iframe'");?>
needCI):?> createLink('job', 'view', "jobID={$MR->jobID}");?>
compile->statusList[$MR->compileStatus], '_blank');?>
mr->noCompileJob;?>