[jira] Commented: (MPDASHBOARD-22) Add "Total" to dashboard report
[ http://jira.codehaus.org/browse/MPDASHBOARD-22?page=comments#action_39248 ] Morten Kristiansen commented on MPDASHBOARD-22: --- Sorry. THIS is more correct: Total > Add "Total" to dashboard report > --- > > Key: MPDASHBOARD-22 > URL: http://jira.codehaus.org/browse/MPDASHBOARD-22 > Project: maven-dashboard-plugin > Type: New Feature > Versions: 1.7 > Reporter: Morten Kristiansen > Assignee: Vincent Massol > Priority: Trivial > Fix For: 1.8 > Attachments: dashboard-total.png > > > Modify jsl to include a "Total" row at bottom of table. See attached image. > My code isn't 100%, but as you see it will calculate values correct even if > there are some "-" rows. For rows like "xx %", NaN will show up. > Jsl code is quite straight forward (could propably be re-written; my xpath > knowledge isn't _that_ good): > > Total > > > > > > > > > Or do you want a scm diff on this? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Commented: (MPDASHBOARD-22) Add "Total" to dashboard report
[ http://jira.codehaus.org/browse/MPDASHBOARD-22?page=comments#action_39243 ] Morten Kristiansen commented on MPDASHBOARD-22: --- Here's the new N/A code: Total > Add "Total" to dashboard report > --- > > Key: MPDASHBOARD-22 > URL: http://jira.codehaus.org/browse/MPDASHBOARD-22 > Project: maven-dashboard-plugin > Type: New Feature > Versions: 1.7 > Reporter: Morten Kristiansen > Assignee: Vincent Massol > Priority: Trivial > Fix For: 1.8 > Attachments: dashboard-total.png > > > Modify jsl to include a "Total" row at bottom of table. See attached image. > My code isn't 100%, but as you see it will calculate values correct even if > there are some "-" rows. For rows like "xx %", NaN will show up. > Jsl code is quite straight forward (could propably be re-written; my xpath > knowledge isn't _that_ good): > > Total > > > > > > > > > Or do you want a scm diff on this? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Commented: (MPDASHBOARD-22) Add "Total" to dashboard report
[ http://jira.codehaus.org/browse/MPDASHBOARD-22?page=comments#action_38322 ] Morten Kristiansen commented on MPDASHBOARD-22: --- I see your point. What we could do is to use the "old" " but store the select with a and use to set theTotal to "N/A" if theTotal is "NaN". > Add "Total" to dashboard report > --- > > Key: MPDASHBOARD-22 > URL: http://jira.codehaus.org/browse/MPDASHBOARD-22 > Project: maven-dashboard-plugin > Type: New Feature > Versions: 1.7 > Reporter: Morten Kristiansen > Assignee: Vincent Massol > Priority: Trivial > Fix For: 1.8 > Attachments: dashboard-total.png > > > Modify jsl to include a "Total" row at bottom of table. See attached image. > My code isn't 100%, but as you see it will calculate values correct even if > there are some "-" rows. For rows like "xx %", NaN will show up. > Jsl code is quite straight forward (could propably be re-written; my xpath > knowledge isn't _that_ good): > > Total > > > > > > > > > Or do you want a scm diff on this? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Commented: (MPDASHBOARD-22) Add "Total" to dashboard report
[ http://jira.codehaus.org/browse/MPDASHBOARD-22?page=comments#action_38320 ] Vincent Massol commented on MPDASHBOARD-22: --- Thanks Morten. Actually, I prerfer NaN over 0 as it's not a number! ;-) That said, the best would really be "N/A" instead of NaN. > Add "Total" to dashboard report > --- > > Key: MPDASHBOARD-22 > URL: http://jira.codehaus.org/browse/MPDASHBOARD-22 > Project: maven-dashboard-plugin > Type: New Feature > Versions: 1.7 > Reporter: Morten Kristiansen > Assignee: Vincent Massol > Priority: Trivial > Fix For: 1.8 > Attachments: dashboard-total.png > > > Modify jsl to include a "Total" row at bottom of table. See attached image. > My code isn't 100%, but as you see it will calculate values correct even if > there are some "-" rows. For rows like "xx %", NaN will show up. > Jsl code is quite straight forward (could propably be re-written; my xpath > knowledge isn't _that_ good): > > Total > > > > > > > > > Or do you want a scm diff on this? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]