crmMailingAB - Transplant report. Decouple stats API.
authorTim Otten <totten@civicrm.org>
Sat, 20 Dec 2014 09:32:21 +0000 (01:32 -0800)
committerTim Otten <totten@civicrm.org>
Sat, 20 Dec 2014 12:52:29 +0000 (04:52 -0800)
commit360aaa75320b47a483284b857cc15be0ba479ade
tree1301a07f330cb3214f1035eab09325a627e0f681
parentd74bca867773266911c6ee5d098d2ff199ebda90
crmMailingAB - Transplant report. Decouple stats API.

Note: Previously, the MailingAB.graph_stats API keyed off the pre-declared
"winning criteria" and target date, which made it necessary to choose these
things in advance.  This API now accepts these as parameters which can be
tweaked interactively (based on what the user whats to investigate).

The graphs don't really work right now, but I've transplanted the code to
show how to encapsulate it in a directive.
api/v3/MailingAB.php
css/angular-crmMailingAB.css
js/angular-crmMailingAB.js
js/angular-crmMailingAB/directives.js
partials/crmMailingAB/report.html [new file with mode: 0644]