|
42 | 42 | </select>
|
43 | 43 | </div>
|
44 | 44 | <a href="#" data-id="refresh" class="refresh">
|
45 |
| - <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18"><path fill="#8f98a3" d="M9 13.5c-2.49 0-4.5-2.01-4.5-4.5S6.51 4.5 9 4.5c1.24 0 2.36.52 3.17 1.33L10 8h5V3l-1.76 1.76C12.15 3.68 10.66 3 9 3 5.69 3 3.01 5.69 3.01 9S5.69 15 9 15c2.97 0 5.43-2.16 5.9-5h-1.52c-.46 2-2.24 3.5-4.38 3.5z"/></svg> |
| 45 | + <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18"> |
| 46 | + <path fill="#8f98a3" d="M9 13.5c-2.49 0-4.5-2.01-4.5-4.5S6.51 4.5 9 4.5c1.24 0 2.36.52 3.17 1.33L10 8h5V3l-1.76 1.76C12.15 3.68 10.66 3 9 3 5.69 3 3.01 5.69 3.01 9S5.69 15 9 15c2.97 0 5.43-2.16 5.9-5h-1.52c-.46 2-2.24 3.5-4.38 3.5z"/> |
| 47 | + </svg> |
46 | 48 | </a>
|
47 | 49 | <div class="spinner big"></div>
|
48 | 50 | <div data-id="chart"></div>
|
49 | 51 | </div>
|
50 | 52 |
|
51 | 53 | {% js %}
|
52 |
| - new Campaign.Chart({ |
53 |
| - action: 'campaign/reports/get-campaign-chart-data', |
54 |
| - campaignId: '{{ campaign.id }}' |
| 54 | + new Campaign.Chart({ |
| 55 | + action: 'campaign/reports/get-campaign-chart-data', |
| 56 | + campaignId: '{{ campaign.id }}' |
55 | 57 | });
|
56 | 58 | {% endjs %}
|
57 | 59 | {% else %}
|
|
90 | 92 | </tr>
|
91 | 93 | <tr>
|
92 | 94 | <th class="light">{{ 'Opened'|t('campaign') }}</th>
|
93 |
| - <td>{{ linkInteration(data.campaign, 'opened') }} <code>[{{ data.campaign.getRate('opened') }}%]</code> |
| 95 | + <td>{{ linkInteration(data.campaign, 'opened') }} |
| 96 | + <code>[{{ data.campaign.getRate('opened') }}%]</code> |
94 | 97 | </td>
|
95 | 98 | </tr>
|
96 | 99 | <tr>
|
97 | 100 | <th class="light">{{ 'Clicked'|t('campaign') }}</th>
|
98 |
| - <td>{{ linkInteration(data.campaign, 'clicked') }} <code>[{{ data.campaign.getRate('clicked') }}%]</code></td> |
| 101 | + <td>{{ linkInteration(data.campaign, 'clicked') }} |
| 102 | + <code>[{{ data.campaign.getRate('clicked') }}%]</code> |
| 103 | + </td> |
99 | 104 | </tr>
|
100 | 105 | <tr>
|
101 | 106 | <th class="light">{{ 'Unsubscribed'|t('campaign') }}</th>
|
102 |
| - <td>{{ linkInteration(data.campaign, 'unsubscribed') }} <code>[{{ data.campaign.getRate('unsubscribed') }}%]</code></td> |
| 107 | + <td>{{ linkInteration(data.campaign, 'unsubscribed') }} |
| 108 | + <code>[{{ data.campaign.getRate('unsubscribed') }}%]</code> |
| 109 | + </td> |
103 | 110 | </tr>
|
104 | 111 | <tr>
|
105 | 112 | <th class="light">{{ 'Complained'|t('campaign') }}</th>
|
106 |
| - <td>{{ linkInteration(data.campaign, 'complained') }} <code>[{{ data.campaign.getRate('complained') }}%]</code></td> |
| 113 | + <td>{{ linkInteration(data.campaign, 'complained') }} |
| 114 | + <code>[{{ data.campaign.getRate('complained') }}%]</code> |
| 115 | + </td> |
107 | 116 | </tr>
|
108 | 117 | <tr>
|
109 | 118 | <th class="light">{{ 'Bounced'|t('campaign') }}</th>
|
110 |
| - <td>{{ linkInteration(data.campaign, 'bounced') }} <code>[{{ data.campaign.getRate('bounced') }}%]</code></td> |
| 119 | + <td>{{ linkInteration(data.campaign, 'bounced') }} |
| 120 | + <code>[{{ data.campaign.getRate('bounced') }}%]</code> |
| 121 | + </td> |
111 | 122 | </tr>
|
112 | 123 | <tr>
|
113 | 124 | <th class="light">
|
|
167 | 178 | <tbody>
|
168 | 179 | {% for sendout in data.sendouts %}
|
169 | 180 | <tr>
|
170 |
| - <th scope="row" data-title="{{ 'Title'|t('app') }}"><a href="{{ sendout.cpEditUrl }}">{{ sendout.title }}</a></th> |
171 |
| - <td data-title="{{ 'Sendout Type'|t('campaign') }}">{{ sendout.sendoutType|ucfirst }}</td> |
| 181 | + <th scope="row" data-title="{{ 'Title'|t('app') }}"> |
| 182 | + <a href="{{ sendout.cpEditUrl }}">{{ sendout.title }}</a> |
| 183 | + </th> |
| 184 | + <td data-title="{{ 'Sendout Type'|t('campaign') }}">{{ sendout.sendoutType|capitalize }}</td> |
172 | 185 | <td data-title="{{ 'Recipients'|t('campaign') }}">{{ sendout.recipients }}</td>
|
173 | 186 | <td data-title="{{ 'Send Date'|t('campaign') }}">{{ sendout.sendDate ? sendout.sendDate|datetime }}</td>
|
174 | 187 | <td data-title="{{ 'Last Sent'|t('campaign') }}">{{ sendout.lastSent ? sendout.lastSent|datetime }}</td>
|
|
0 commit comments