mirror of
https://codeberg.org/artfulrobot/contactcats.git
synced 2025-06-27 12:47:19 +02:00
Checkin, fairly stable
This commit is contained in:
parent
f88fb5f10e
commit
eb6542857b
5 changed files with 161 additions and 119 deletions
|
@ -2,20 +2,29 @@
|
|||
<form crm-ui-id-scope >
|
||||
<div crm-ui-field="{name: 'cc.startDate', title: ts('Start date')}" >
|
||||
<input
|
||||
crm-ui-id="ci.startDate"
|
||||
crm-ui-id="cc.startDate"
|
||||
type=date
|
||||
name="startDate"
|
||||
name=startDate
|
||||
ng-model="$ctrl.startDate"
|
||||
/>
|
||||
</div>
|
||||
<div crm-ui-field="{name: 'cc.endDate', title: ts('End date')}" >
|
||||
<input
|
||||
crm-ui-id="ci.endDate"
|
||||
crm-ui-id="cc.endDate"
|
||||
type=date
|
||||
name="endDate"
|
||||
name=endDate
|
||||
ng-model="$ctrl.endDate"
|
||||
/>
|
||||
</div>
|
||||
<div crm-ui-field="{name: 'cc.changesOnly', title: ts('Show changes only')}" >
|
||||
<input
|
||||
crm-ui-id="cc.changesOnly"
|
||||
type=checkbox
|
||||
name=changesOnly
|
||||
ng-model="$ctrl.changesOnly"
|
||||
ng-change="$ctrl.redrawSankey()"
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<button ng-click="$ctrl.fetchStats()" >
|
||||
<i ng-if="$ctrl.loading" class="crm-i fa-spin fa-spinner"></i>
|
||||
|
@ -47,7 +56,7 @@
|
|||
fill="{{p.fill}}"
|
||||
fill-opacity=0.5
|
||||
>
|
||||
<title>{{p.source.contact_count}} {{p.fromCat.name}} → {{p.toCat.name}}</title>
|
||||
<title>{{p.source.contact_count}} {{p.fromCat.label}} → {{p.toCat.label}}</title>
|
||||
</path>
|
||||
<!--
|
||||
<g ng-repeat="label in $ctrl.sankey.labels">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue