diff --git a/public_html/deployment/pages/act_build.php b/public_html/deployment/pages/act_build.php index 2dab289d0406701b30a372b7864f36f6c6f202e3..5da8f9d4fe8727c603c853879ff55592a13a4ada 100644 --- a/public_html/deployment/pages/act_build.php +++ b/public_html/deployment/pages/act_build.php @@ -36,6 +36,7 @@ if (!array_key_exists("confirm", $aParams)) { // ------------------------------------------------------------ $sNext = $oPrj->getNextPhase(); $aPhaseData2 = $oPrj->getPhaseInfos($sNext); + $bForceNoCache = isset($aParams['reloadBranches']) ? $aParams['reloadBranches'] : false; $sOut.='<p>' . sprintf(t("page-build-info"), $sNext, $sNext) . '</p>'; @@ -66,7 +67,15 @@ if (!array_key_exists("confirm", $aParams)) { <tbody> <tr> <td class=""> - ' . $oPrj->renderSelectRemoteBranches() . ' + ' . $oPrj->renderSelectRemoteBranches(false, $bForceNoCache) . ' + <form action="?" method="post" enctype="multipart/form-data"> + <input type="hidden" name="reloadBranches" value="1"> + <input type="hidden" name="branchname" value="' . $sBranchname . '"> + <fieldset> + <button type="submit" class="btn btn-default">' . $oHtml->getIcon('refresh').t("page-build-reload-branches") . '</button> + </fieldset> + </form> + </td> <td class=""> ' . $oPrj->renderRepoInfo() . '