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; ?> | synced and empty($rawMR->changes_count)):?>
mr->cantMerge; ?>
synced) echo '' . $lang->mr->noChanges . ' ';?>
|
mr->mergeStatusList, !empty($rawMR->merge_status) ? $rawMR->merge_status : $MR->mergeStatus);?> |
mr->MRHasConflicts; ?> | synced === '1' ? $rawMR->has_conflicts : (bool)$MR->hasNoConflict;?>mr->hasConflicts : $lang->mr->hasNoConflict);?> | |
mr->description;?> | description) ? $MR->description : $lang->noData; ?> |
- mr->view);?>
- id}"), $lang->mr->viewDiff);?>
- id}&type=story"), html::icon($lang->icons['story'], 'text-primary') . ' ' . $lang->productplan->linkedStories);?>
- id}&type=bug"), html::icon($lang->icons['bug'], 'text-red') . ' ' . $lang->productplan->linkedBugs);?>
- id}&type=task"), html::icon('todo', 'text-info') . ' ' . $lang->mr->linkedTasks);?>
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):?>
needCI):?>
createLink('job', 'view', "jobID={$MR->jobID}");?>
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'");?> |
compile->statusList[$MR->compileStatus], '_blank');?>
mr->noCompileJob;?>