add note field
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@905698 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cfc1165d1f
commit
e37685fc25
1 changed files with 9 additions and 5 deletions
|
@ -27,6 +27,7 @@
|
|||
|
||||
//@Reference
|
||||
var planView = new tuscany.sca.Reference("plan");
|
||||
var project = "TUSCANY";
|
||||
var ms;
|
||||
|
||||
function plan_getResponse(plan,exception) {
|
||||
|
@ -39,7 +40,7 @@
|
|||
|
||||
|
||||
|
||||
var mschoice = 'Add new Work Item for JIRA: <input type="text" name="JIRA" value="TUSCANY-">in Milestone<select name="mschoice">';
|
||||
var mschoice = 'Add new Work Item for JIRA: <input type="text" name="JIRA" value="'+project+'-">in Milestone<select name="mschoice">';
|
||||
for(var i=0; i<ms.length; i++) {
|
||||
mscontent += "<tr><th colspan=\"6\" align=\"left\">Milestone " + ms[i].ID + "</th></tr>";
|
||||
mschoice+='<option>'+ms[i].ID+'</option>';
|
||||
|
@ -49,6 +50,7 @@
|
|||
"<th>Jira title</th>"+
|
||||
"<th>Jira Assigned To</th>"+
|
||||
"<th>Status</th>"+
|
||||
"<th>Note</th>"+
|
||||
"</tr>";
|
||||
for (var j=0; j<mswi.length; j++) {
|
||||
mscontent +="<tr>";
|
||||
|
@ -61,12 +63,14 @@
|
|||
if(mswi[j].jiraData!= null) {
|
||||
mscontent += "<td>"+mswi[j].jiraData.title+"</td>"+
|
||||
"<td>"+mswi[j].jiraData.assignedTo+"</td>"+
|
||||
"<td>"+mswi[j].jiraData.status+"</td>"+
|
||||
"<td></td>";
|
||||
"<td>"+mswi[j].jiraData.status+"</td><td>";
|
||||
} else {
|
||||
mscontent += "<td colspan=\"4\"></td>";
|
||||
mscontent += "<td colspan=\"3\"></td>";
|
||||
}
|
||||
mscontent += "</tr>";
|
||||
if(mswi[j].note != null) {
|
||||
mscontent += mswi[j].note;
|
||||
}
|
||||
mscontent+="</td></tr>";
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue