summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkelvingoodson <kelvingoodson@13f79535-47bb-0310-9956-ffa450edef68>2010-02-02 16:40:08 +0000
committerkelvingoodson <kelvingoodson@13f79535-47bb-0310-9956-ffa450edef68>2010-02-02 16:40:08 +0000
commite37685fc256a223b4898493b1d194cd0913419ae (patch)
treebd216d0ca2b84a0630c1a84e0963f98574e19445
parentcfc1165d1fcaf4dc523821a707ad4696921c98c8 (diff)
add note field
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@905698 13f79535-47bb-0310-9956-ffa450edef68
-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>";
}
}