You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by dp...@apache.org on 2018/10/10 12:03:42 UTC
[ignite-teamcity-bot] branch ignite-9800-2 updated: IGNITE-9800:
Expandable details section for each PR: cosmetic
This is an automated email from the ASF dual-hosted git repository.
dpavlov pushed a commit to branch ignite-9800-2
in repository https://gitbox.apache.org/repos/asf/ignite-teamcity-bot.git
The following commit(s) were added to refs/heads/ignite-9800-2 by this push:
new e2bf2b9 IGNITE-9800: Expandable details section for each PR: cosmetic
e2bf2b9 is described below
commit e2bf2b90f1a09ed3c776ca9ae860242455136f68
Author: Dmitriy Pavlov <dp...@apache.org>
AuthorDate: Wed Oct 10 15:03:41 2018 +0300
IGNITE-9800: Expandable details section for each PR: cosmetic
---
ignite-tc-helper-web/src/main/webapp/js/prs-1.0.js | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/ignite-tc-helper-web/src/main/webapp/js/prs-1.0.js b/ignite-tc-helper-web/src/main/webapp/js/prs-1.0.js
index 09c7c22..9c5baef 100644
--- a/ignite-tc-helper-web/src/main/webapp/js/prs-1.0.js
+++ b/ignite-tc-helper-web/src/main/webapp/js/prs-1.0.js
@@ -152,7 +152,9 @@ function formatContributionDetails(rowData, srvId, suiteId) {
// `rowData` is the original data object for the row
let prId = rowData.prNumber;
- let res = "<table cellpadding='5' cellspacing='0' border='0' style='padding-left:50px;'>\n" +
+ var res = "";
+ res+="<div class='formgroup'>";
+ res+="<table cellpadding='5' cellspacing='0' border='0' style='padding-left:50px;'>\n" +
" <tr>\n" +
" <td>PR number:</td>\n" +
" <td>" + rowData.prNumber + "</td>\n" +
@@ -162,6 +164,7 @@ function formatContributionDetails(rowData, srvId, suiteId) {
" <td id='branchFor_" + prId + "'>Loading builds...</td>\n" +
" </tr>\n" +
" </table>";
+ res+="</div>";
$.ajax({
url: "rest/visa/findBranchForPr?serverId=" + srvId +
"&suiteId=" + suiteId +