Commit | Line | Data |
---|---|---|
2ede60ec DL |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
1188c7a8 | 3 | | Copyright CiviCRM LLC. All rights reserved. | |
2ede60ec | 4 | | | |
1188c7a8 TO |
5 | | This work is published under the GNU AGPLv3 license with some | |
6 | | permitted exceptions and without any warranty. For full license | | |
7 | | and copyright information, see https://civicrm.org/licensing | | |
2ede60ec DL |
8 | +--------------------------------------------------------------------+ |
9 | *} | |
10 | ||
11 | <div class="crm-mailing-selector"> | |
41348d61 | 12 | <table class="contact-mailing-selector crm-ajax-table"> |
2ede60ec | 13 | <thead> |
41348d61 JL |
14 | <tr> |
15 | <th data-data="subject" class="crm-mailing-contact-subject">{ts}Subject{/ts}</th> | |
ff3f9641 | 16 | <th data-data="creator_name" class="crm-mailing-contact_created">{ts}Added by{/ts}</th> |
41348d61 JL |
17 | <th data-data="recipients" data-orderable="false" class="crm-contact-activity_contact">{ts}Recipients{/ts}</th> |
18 | <th data-data="start_date" class="crm-mailing-contact-date">{ts}Date{/ts}</th> | |
19 | <th data-data="openstats" data-orderable="false" class="crm-mailing_openstats">{ts}Opens/ Clicks{/ts}</th> | |
20 | <th data-data="links" data-orderable="false" class="crm-mailing-contact-links"> </th> | |
21 | </tr> | |
2ede60ec DL |
22 | </thead> |
23 | </table> | |
41348d61 JL |
24 | {literal} |
25 | <script type="text/javascript"> | |
26 | (function($) { | |
27 | CRM.$('table.contact-mailing-selector').data({ | |
28 | "ajax": { | |
29 | "url": {/literal}'{crmURL p="civicrm/ajax/contactmailing" h=0 q="contact_id=$contactId"}'{literal} | |
0991dfb0 | 30 | } |
41348d61 JL |
31 | }); |
32 | })(CRM.$); | |
33 | </script> | |
34 | {/literal} | |
35 | </div> |