everything working
[civicrm-core.git] / partials / crmMailing / mailingList.html
CommitLineData
ab953923
SR
1<!--
2Controller: mailingListCtrl
3Required vars: mailingList
4-->
5<div id="help">
6 All partially completed and completed mail are listed here
7</div>
8
9<div ng-show="!(checkEmpty())">
10 <table class="display">
11 <thead>
12 <tr>
13 <th>Mailing Name</th>
14 <!-- <th>Status</th> -->
15 <th>Created By</th>
16 <th>Created Date</th>
17 <th>Sent By</th>
18 <th>Scheduled</th>
19 <th></th>
20 <th></th>
21 </tr>
22 </thead>
23 <tr ng-repeat="mail in mailingList" ng-class-even="'even-row even'" ng-class-odd="'odd-row odd'">
24 <td>{{mail.name}}</td>
25 <!-- <td>{{mailStatus[{{$index}}]}}</td> -->
26 <td>{{mail.from_email}}</td>
27 <td>{{mail.created_date}}</td>
28 <td>{{mail.from_email}}</td>
29 <td>{{mail.scheduled_date}}</td>
4066c991 30 <td><a class="action-item crm-hover-button" ng-href="#/mailing/{{mail.id}}" ng-click="edit()" ng-show="mail.scheduled_date == null">Edit</a</td>
ab953923
SR
31 <td><a class="action-item crm-hover-button" crm-confirm="{type: 'delete', obj: mail}" on-yes="deleteMail(mail)">Delete</a>
32 </td>
33 </tr>
34 </table>
35</div>
36
37<div ng-show="checkEmpty()" class="messages status no-popup">
38 <div class="icon inform-icon"></div>
39 You have no Mailings
40</div>
41
42<div class="action-link">
43 <a ng-href="#/mailing/new" ng-click="edit()" class="button"><span><div class="icon add-icon"></div>New Mailing</span></a>
44</div>
45</div>
46