summaryrefslogtreecommitdiffstats
path: root/sandbox/kgoodson
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/kgoodson')
-rw-r--r--sandbox/kgoodson/jagg/src/main/resources/uiservices/plan.html14
1 files changed, 9 insertions, 5 deletions
diff --git a/sandbox/kgoodson/jagg/src/main/resources/uiservices/plan.html b/sandbox/kgoodson/jagg/src/main/resources/uiservices/plan.html
index 2b33988c00..fbfb187932 100644
--- a/sandbox/kgoodson/jagg/src/main/resources/uiservices/plan.html
+++ b/sandbox/kgoodson/jagg/src/main/resources/uiservices/plan.html
@@ -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>";
}
}