diff --git a/module/mr/css/view.css b/module/mr/css/view.css index 03b83c8993..15e8e8f9ce 100644 --- a/module/mr/css/view.css +++ b/module/mr/css/view.css @@ -4,4 +4,3 @@ .table-content tbody tr td{border:none;} .table-content thead tr th{text-align: left; vertical-align: middle;} .detail-content{margin-top:0;} - diff --git a/module/mr/view/link.html.php b/module/mr/view/link.html.php index 0bfb3dfe9e..90a49078b2 100644 --- a/module/mr/view/link.html.php +++ b/module/mr/view/link.html.php @@ -34,7 +34,6 @@ -
diff --git a/module/mr/view/view.html.php b/module/mr/view/view.html.php index 2046edaacc..da7b2a4b0a 100644 --- a/module/mr/view/view.html.php +++ b/module/mr/view/view.html.php @@ -1,26 +1,27 @@ id)): ?> -
-
-

- mr->notFound;?> - - createLink('mr', 'create'), " " . $lang->mr->create, '', "class='btn btn-info'"); ?> - -

-
+
+
+

+ mr->notFound;?> + + createLink('mr', 'create'), " " . $lang->mr->create, '', "class='btn btn-info'"); ?> + +

- +
+ id)): ?> -
-
-

- mr->notFound; ?> - createLink('mr', 'browse'), " " . $lang->mr->browse, '', "class='btn btn-info'"); ?> -

-
+
+
+

+ mr->notFound; ?> + createLink('mr', 'browse'), " " . $lang->mr->browse, '', "class='btn btn-info'"); ?> +

+
+ +
-
-
-
+
+
+ +
+
- - +
+ - + @@ -69,78 +79,79 @@ - - -
mr->from . html::a($sourceProjectURL, $sourceProjectName . ":" . $MR->sourceBranch, "_blank", "class='btn btn-link btn-active-text' style='color: blue'") . $lang->mr->to . html::a($targetProjectURL, $targetProjectName . ":" . $MR->targetBranch, "_blank", "class='btn btn-link btn-active-text' style='color: blue'"); ?>
mr->status;?>
mr->MRHasConflicts; ?> has_conflicts ? $lang->mr->hasConflicts : $lang->mr->hasNoConflict);?>
-
-
-
-
-
-
mr->description; ?>
-
- description) ? $MR->description : "
" . $lang->noData . '
'; ?> -
-
-
- state == 'opened'): ?> -
mr->commandDocument, $httpRepoURL, $MR->sourceBranch, $branchPath, $MR->targetBranch, $branchPath, $MR->targetBranch); ?>
- -
-
- - state == 'opened' and !$rawMR->has_conflicts) echo html::a(inlink('accept', "mr=$MR->id"), ' ' . $lang->mr->acceptMR, '', "id='mergeButton' class='btn'"); ?> - state == 'opened'): ?> - has_conflicts or $MR->compileStatus != 'success'):?> - id&action=approve&onlybody=yes"), ' ' . $lang->mr->approve, '', "id='mergeButton' class='btn iframe showinonlybody' disabled"); ?> - - id&action=approve&onlybody=yes"), ' ' . $lang->mr->approve, '', "id='mergeButton' class='btn iframe showinonlybody'"); ?> - - id&action=reject&onlybody=yes"), ' ' . $lang->mr->reject, '', "id='mergeButton' class='btn iframe showinonlybody'"); ?> - id"), ' ' . $lang->mr->close, '', "id='mergeButton' class='btn'"); ?> - id"), ' ' . str_replace($lang->mr->common, '', $lang->mr->edit), '', "id='mergeButton' class='btn'"); ?> - - state == 'closed') echo html::a(inlink('reopen', "mr=$MR->id"), ' ' . $lang->mr->reopen, '', "id='mergeButton' class='btn'"); ?> - id"), ' ' . str_replace($lang->mr->common, '', $lang->mr->delete), '', "id='mergeButton' class='btn'"); ?> -
-
-
-
-
-
- compile->job;?> -
- compileID):?> - - - - - - - - - - - - - - - - - -
job->common;?>name;?>
compile->atTime;?>lastExec : $lang->mr->compileUnexecuted;?>
compile->result;?> - compile->statusList, $compile->status);?>    - createLink('job', 'view', "jobID=$compileJob->id&compileID=$compile->id&onlybody=yes"), "{$lang->compile->logs}", "", "class='iframe'");?> -
- -
mr->noCompileJob;?>
- -
-
-
+ + + +
+
+
+
+
+ compile->job;?> +
+ compileID):?> + + + + + + + + + + + + + + + + + +
job->common;?>name;?>
compile->atTime;?>lastExec : $lang->mr->compileUnexecuted;?>
compile->result;?> + compile->statusList, $compile->status);?>    + createLink('job', 'view', "jobID=$compileJob->id&compileID=$compile->id&onlybody=yes"), "{$lang->compile->logs}", "", "class='iframe'");?> +
+ +
mr->noCompileJob;?>
+ +
+
+
+ +
+
+
mr->description; ?>
+
+ description) ? $MR->description : "
" . $lang->noData . '
'; ?> +
+
+
+ + state == 'opened'): ?> +
mr->commandDocument, $httpRepoURL, $MR->sourceBranch, $branchPath, $MR->targetBranch, $branchPath, $MR->targetBranch); ?>
+
-
+
+
+ + state == 'opened' and !$rawMR->has_conflicts) echo html::a(inlink('accept', "mr=$MR->id"), ' ' . $lang->mr->acceptMR, '', "id='mergeButton' class='btn'"); ?> + state == 'opened'): ?> + has_conflicts or $MR->compileStatus != 'success'):?> + id&action=approve&onlybody=yes"), ' ' . $lang->mr->approve, '', "id='mergeButton' class='btn iframe showinonlybody' disabled"); ?> + + id&action=approve&onlybody=yes"), ' ' . $lang->mr->approve, '', "id='mergeButton' class='btn iframe showinonlybody'"); ?> + + id&action=reject&onlybody=yes"), ' ' . $lang->mr->reject, '', "id='mergeButton' class='btn iframe showinonlybody'"); ?> + id"), ' ' . $lang->mr->close, '', "id='mergeButton' class='btn'"); ?> + id"), ' ' . str_replace($lang->mr->common, '', $lang->mr->edit), '', "id='mergeButton' class='btn'"); ?> + + state == 'closed') echo html::a(inlink('reopen', "mr=$MR->id"), ' ' . $lang->mr->reopen, '', "id='mergeButton' class='btn'"); ?> + id"), ' ' . str_replace($lang->mr->common, '', $lang->mr->delete), '', "id='mergeButton' class='btn'"); ?> +
+
+
+