PluginProbe
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress / 10.2.2
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress v10.2.2
11.1.1 11.1.0 11.0.5 11.0.4 11.0.3 11.0.2 11.0.1 11.0.0 10.11.1 10.11.0 10.10.2 10.10.1 10.10.0 10.9.1 trunk 10.0.0 10.0.1 10.1.0 10.1.1 10.1.2 10.1.3 10.1.4 10.2.0 10.2.1 10.2.2 All 62 releases
acymailing / back / Views / Queue / tmpl / detailed.php

detailed.php in AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress 10.2.2, at back/Views/Queue/tmpl/detailed.php

80 lines 4.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <form id="acym_form" action="<?php echo acym_completeLink(acym_getVar('cmd', 'ctrl')); ?>" method="post" name="acyForm" data-abide novalidate>
2 <?php
3 $isEmpty = empty($data['allElements']) && empty($data['search']) && empty($data['tag']) && empty($data['status']);
4 if (!$isEmpty) {
5 $data['toolbar']->displayToolbar($data);
6 }
7 ?>
8 <div id="acym__queue" class="acym__content">
9 <?php
10 $workflow = $data['workflowHelper'];
11 echo $workflow->displayTabs($this->steps, 'detailed');
12 ?>
13
14 <?php if ($isEmpty) { ?>
15 <div class="grid-x text-center">
16 <h1 class="acym__listing__empty__title cell"><?php echo acym_translation('ACYM_YOU_DONT_HAVE_ANY_CAMPAIGN_IN_QUEUE'); ?></h1>
17 <h1 class="acym__listing__empty__subtitle cell"><?php echo acym_translation('ACYM_SEND_ONE_AND_SEE_HOW_AMAZING_QUEUE_IS'); ?></h1>
18 </div>
19 <?php } else { ?>
20 <?php if (empty($data['allElements'])) { ?>
21 <h1 class="cell acym__listing__empty__search__title text-center"><?php echo acym_translation('ACYM_NO_RESULTS_FOUND'); ?></h1>
22 <?php } else { ?>
23 <div class="grid-x acym__listing acym__listing__view__dqueue">
24 <div class="cell grid-x acym__listing__header hide-for-small-only">
25 <div class="acym__listing__header__title cell large-2 medium-3">
26 <?php echo acym_translation('ACYM_SENDING_DATE'); ?>
27 </div>
28 <div class="acym__listing__header__title cell medium-4">
29 <?php echo acym_translation('ACYM_CAMPAIGN'); ?>
30 </div>
31 <div class="acym__listing__header__title cell large-4 medium-3">
32 <?php echo acym_translation('ACYM_RECIPIENTS'); ?>
33 </div>
34 <div class="acym__listing__header__title cell medium-1 hide-for-small-only text-center">
35 <?php echo acym_translation('ACYM_TRY'); ?>
36 </div>
37 <div class="acym__listing__header__title cell medium-1 text-center">
38 <?php echo acym_translation('ACYM_DELETE'); ?>
39 </div>
40 </div>
41 <?php foreach ($data["allElements"] as $row) { ?>
42 <div data-acy-elementid="<?php echo acym_escape($row->id.'_'.$row->user_id); ?>" class="cell grid-x acym__listing__row">
43 <div class="cell large-2 medium-3">
44 <?php echo acym_date($row->sending_date, acym_getDateTimeFormat()); ?>
45 </div>
46 <div class="cell medium-4 acym__listing__title">
47 <div class="acym__listing__title acym_text_ellipsis"><?php echo acym_escape($row->name); ?></div>
48 <span class="acym__listing__title__secondary acym_text_ellipsis"><?php echo acym_escape($row->subject); ?></span>
49 </div>
50 <div class="cell large-4 medium-3">
51 <a href="<?php echo acym_completeLink('users&task=edit&userId='.$row->user_id); ?>">
52 <?php
53 if (empty($row->user_name)) {
54 echo $row->email;
55 } else {
56 echo '<span class="hide-for-medium-only hide-for-small-only">'.$row->user_name.' (</span>'.$row->email.'<span class="hide-for-medium-only hide-for-small-only">)</span>';
57 }
58 ?>
59 </a>
60 </div>
61 <div class="cell medium-1 hide-for-small-only text-center">
62 <?php echo $row->try; ?>
63 </div>
64 <div class="cell medium-1 text-center">
65 <i class="acymicon-delete js-acym_toggle_delete acym_delete_queue"
66 data-acy-table="queue"
67 data-acy-method="deleteOne"
68 data-acy-elementid="<?php echo acym_escape($row->id.'_'.$row->user_id); ?>"
69 confirmation="1"></i>
70 </div>
71 </div>
72 <?php } ?>
73 </div>
74 <?php echo $data['pagination']->display('dqueue'); ?>
75 <?php } ?>
76 <?php } ?>
77 <?php acym_formOptions(false, 'detailed'); ?>
78 </div>
79 </form>
80