Version Notes
Built a stable version 1.0.11
Download this release
Release Info
Developer | PushAssist Team |
Extension | Webpushnotification_Pushassist |
Version | 1.0.11 |
Comparing to | |
See all releases |
Code changes from version 1.0.10 to 1.0.11
- app/code/community/Webpushnotification/Pushassist/etc/config.xml +1 -1
- app/design/adminhtml/default/default/template/pushassist/dashboard.phtml +50 -26
- app/design/adminhtml/default/default/template/pushassist/notification.phtml +1 -1
- app/design/adminhtml/default/default/template/pushassist/push_dashboard.phtml +59 -26
- package.xml +6 -6
app/code/community/Webpushnotification/Pushassist/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Webpushnotification_Pushassist>
|
5 |
-
<version>1.0.
|
6 |
</Webpushnotification_Pushassist>
|
7 |
</modules>
|
8 |
<global>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Webpushnotification_Pushassist>
|
5 |
+
<version>1.0.11</version>
|
6 |
</Webpushnotification_Pushassist>
|
7 |
</modules>
|
8 |
<global>
|
app/design/adminhtml/default/default/template/pushassist/dashboard.phtml
CHANGED
@@ -11,7 +11,7 @@ $get_subscribers = Mage::helper('pushassist')->get_subscribers();
|
|
11 |
if($check_api_key!='' && $check_secret_key != '' && (!isset($account_response['error'] )) && $account_response) {
|
12 |
|
13 |
?>
|
14 |
-
<?php if(count($get_subscribers) < 1) {
|
15 |
|
16 |
<div id="messages"><ul class="messages"><li class="success-msg"><ul><li><span>PushAssist is installed, no additional step is needed. Completely <a href="<?php echo $this->getUrl('*/cache'); ?>" target="_blank">Purge Cache</a> once to see it in action.
|
17 |
Your Account Details have already been emailed to you. Also check under SPAM if you don't find it.</span></li></ul></li></ul></div>
|
@@ -46,8 +46,47 @@ Your Account Details have already been emailed to you. Also check under SPAM if
|
|
46 |
<!-- Top Stats Start -->
|
47 |
<div class="col-md-12">
|
48 |
<ul class="topstats clearfix">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
<li class="col-xs-6 col-lg-2">
|
50 |
-
<span class="title"><i class="fa fa-send"></i> <?php echo $this->__('
|
51 |
<h3><?php echo $dashboard_response['total_delivered']; ?></h3>
|
52 |
<span class="diff">
|
53 |
<?php if ($dashboard_response['delivered_change'] == 'negative') { ?>
|
@@ -62,7 +101,7 @@ Your Account Details have already been emailed to you. Also check under SPAM if
|
|
62 |
</li>
|
63 |
|
64 |
<li class="col-xs-6 col-lg-2">
|
65 |
-
<span class="title"><i class="fa fa-check-square-o"></i> <?php echo $this->__('
|
66 |
<h3 class="color-up"><?php echo $dashboard_response['total_clicks']; ?></h3>
|
67 |
<span class="diff">
|
68 |
<?php if ($dashboard_response['clicks_change'] == 'negative') { ?>
|
@@ -74,38 +113,23 @@ Your Account Details have already been emailed to you. Also check under SPAM if
|
|
74 |
</b> <?php echo $this->__('from last week');?></span>
|
75 |
</li>
|
76 |
|
77 |
-
<li class="col-xs-6 col-lg-2">
|
78 |
-
<span class="title"><i class="fa fa-users"></i> <?php echo $this->__('Total Subscribers');?> </span>
|
79 |
-
<h3><?php echo $dashboard_response['total_subscribers']; ?></h3>
|
80 |
-
<span class="diff">
|
81 |
-
<?php if ($dashboard_response['subscribers_change'] == 'negative') { ?>
|
82 |
-
<b class="color-down"><i class="fa fa-caret-down"></i> <?php echo $dashboard_response['subscribers_percentage']; ?>
|
83 |
-
<?php } if ($dashboard_response['subscribers_change'] == 'positive') { ?>
|
84 |
-
<b class="color-up"><i class="fa fa-caret-up"></i> <?php echo $dashboard_response['subscribers_percentage']; ?>
|
85 |
-
<?php } ?>%
|
86 |
-
|
87 |
-
</b> <?php echo $this->__('from last week');?></span>
|
88 |
-
</li>
|
89 |
-
|
90 |
|
91 |
|
|
|
|
|
92 |
<li class="col-xs-6 col-lg-2">
|
93 |
<span class="title"><i class="fa fa-cogs"></i> <?php echo $this->__('Campaigns');?> </span>
|
94 |
<h3 class="color-up"><?php echo $dashboard_response['campaign_count']; ?></h3>
|
95 |
<span class="diff"><b class="color-down"></b> <?php echo $this->__('active this week');?></span>
|
96 |
</li>
|
97 |
-
|
98 |
<li class="col-xs-6 col-lg-2">
|
99 |
-
<span class="title"><i class="fa fa-send"></i> <?php echo $this->__('
|
100 |
-
<h3 class="color-up"><?php echo $dashboard_response['
|
101 |
<span class="diff"><b class="color-down"></b> <?php echo $this->__('created');?> </span>
|
102 |
</li>
|
103 |
-
|
104 |
-
|
105 |
-
<span class="title"><i class="fa fa-sitemap"></i> <?php echo $this->__('Sites');?> </span>
|
106 |
-
<h3 class="color-up"><?php echo $dashboard_response['sites_count']; ?></h3>
|
107 |
-
<span class="diff"><b class="color-down"></b><?php echo $this->__('registered');?></span>
|
108 |
-
</li>
|
109 |
</ul>
|
110 |
</div>
|
111 |
<!-- Top Stats End -->
|
@@ -134,7 +158,7 @@ Your Account Details have already been emailed to you. Also check under SPAM if
|
|
134 |
<td><?php echo $this->__('Message');?></td>
|
135 |
<td><?php echo $this->__('Total Sent');?></td>
|
136 |
<td><?php echo $this->__('Delivered');?></td>
|
137 |
-
<td><?php echo $this->__('
|
138 |
<td><?php echo $this->__('Clicked');?></td>
|
139 |
<td><?php echo $this->__('Created Date');?></td>
|
140 |
<td><?php echo $this->__('Is Campaign');?></td>
|
11 |
if($check_api_key!='' && $check_secret_key != '' && (!isset($account_response['error'] )) && $account_response) {
|
12 |
|
13 |
?>
|
14 |
+
<?php if(count($get_subscribers) < 1) { ?>
|
15 |
|
16 |
<div id="messages"><ul class="messages"><li class="success-msg"><ul><li><span>PushAssist is installed, no additional step is needed. Completely <a href="<?php echo $this->getUrl('*/cache'); ?>" target="_blank">Purge Cache</a> once to see it in action.
|
17 |
Your Account Details have already been emailed to you. Also check under SPAM if you don't find it.</span></li></ul></li></ul></div>
|
46 |
<!-- Top Stats Start -->
|
47 |
<div class="col-md-12">
|
48 |
<ul class="topstats clearfix">
|
49 |
+
|
50 |
+
<li class="col-xs-6 col-lg-2">
|
51 |
+
<span class="title"><i class="fa fa-users"></i> <?php echo $this->__('Subscribers');?> </span>
|
52 |
+
<h3><?php echo $dashboard_response['total_subscribers']; ?></h3>
|
53 |
+
<span class="diff">
|
54 |
+
<?php if ($dashboard_response['subscribers_change'] == 'negative') { ?>
|
55 |
+
<b class="color-down"><i class="fa fa-caret-down"></i> <?php echo $dashboard_response['subscribers_percentage']; ?>
|
56 |
+
<?php } if ($dashboard_response['subscribers_change'] == 'positive') { ?>
|
57 |
+
<b class="color-up"><i class="fa fa-caret-up"></i> <?php echo $dashboard_response['subscribers_percentage']; ?>
|
58 |
+
<?php } ?>%
|
59 |
+
|
60 |
+
</b> <?php echo $this->__('from last week');?></span>
|
61 |
+
</li>
|
62 |
+
<li class="col-xs-6 col-lg-2">
|
63 |
+
<span class="title"><i class="fa fa-bell"></i> <?php echo $this->__('Active');?> </span>
|
64 |
+
<h3><?php echo $dashboard_response['active_subscribers']; ?></h3>
|
65 |
+
<span class="diff">
|
66 |
+
<?php if ($dashboard_response['active_subscribers_change'] == 'negative') { ?>
|
67 |
+
<b class="color-down"><i class="fa fa-caret-down"></i> <?php echo $dashboard_response['active_subscribers_percentage']; ?>
|
68 |
+
<?php } if ($dashboard_response['active_subscribers_change'] == 'positive') { ?>
|
69 |
+
<b class="color-up"><i class="fa fa-caret-up"></i> <?php echo $dashboard_response['active_subscribers_percentage']; ?>
|
70 |
+
<?php } ?>%
|
71 |
+
|
72 |
+
</b> <?php echo $this->__('from last week');?></span>
|
73 |
+
</li>
|
74 |
+
<li class="col-xs-6 col-lg-2">
|
75 |
+
<span class="title"><i class="fa fa-bell-slash"></i> <?php echo $this->__('Unsubscribed');?> </span>
|
76 |
+
<h3><?php echo $dashboard_response['unsubscribed']; ?></h3>
|
77 |
+
<span class="diff">
|
78 |
+
<?php if ($dashboard_response['unsubscribed_change'] == 'negative') { ?>
|
79 |
+
<b class="color-down"><i class="fa fa-caret-down"></i> <?php echo $dashboard_response['unsubscribed_percentage']; ?>
|
80 |
+
<?php }
|
81 |
+
if ($dashboard_response['unsubscribed_change'] == 'positive') { ?>
|
82 |
+
<b class="color-up"><i class="fa fa-caret-up"></i> <?php echo $dashboard_response['unsubscribed_percentage']; ?>
|
83 |
+
<?php } ?>%
|
84 |
+
|
85 |
+
|
86 |
+
</b> <?php echo $this->__('from last week');?></span>
|
87 |
+
</li>
|
88 |
<li class="col-xs-6 col-lg-2">
|
89 |
+
<span class="title"><i class="fa fa-send"></i> <?php echo $this->__('Sent');?> </span>
|
90 |
<h3><?php echo $dashboard_response['total_delivered']; ?></h3>
|
91 |
<span class="diff">
|
92 |
<?php if ($dashboard_response['delivered_change'] == 'negative') { ?>
|
101 |
</li>
|
102 |
|
103 |
<li class="col-xs-6 col-lg-2">
|
104 |
+
<span class="title"><i class="fa fa-check-square-o"></i> <?php echo $this->__('Clicked');?> </span>
|
105 |
<h3 class="color-up"><?php echo $dashboard_response['total_clicks']; ?></h3>
|
106 |
<span class="diff">
|
107 |
<?php if ($dashboard_response['clicks_change'] == 'negative') { ?>
|
113 |
</b> <?php echo $this->__('from last week');?></span>
|
114 |
</li>
|
115 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
116 |
|
117 |
|
118 |
+
|
119 |
+
<?php if($account_response['planType']=='Paid'){ ?>
|
120 |
<li class="col-xs-6 col-lg-2">
|
121 |
<span class="title"><i class="fa fa-cogs"></i> <?php echo $this->__('Campaigns');?> </span>
|
122 |
<h3 class="color-up"><?php echo $dashboard_response['campaign_count']; ?></h3>
|
123 |
<span class="diff"><b class="color-down"></b> <?php echo $this->__('active this week');?></span>
|
124 |
</li>
|
125 |
+
<?php }else{?>
|
126 |
<li class="col-xs-6 col-lg-2">
|
127 |
+
<span class="title"><i class="fa fa-send"></i> <?php echo $this->__('Viewed');?> </span>
|
128 |
+
<h3 class="color-up"><?php echo $dashboard_response['total_delivered']; ?></h3>
|
129 |
<span class="diff"><b class="color-down"></b> <?php echo $this->__('created');?> </span>
|
130 |
</li>
|
131 |
+
<?php } ?>
|
132 |
+
|
|
|
|
|
|
|
|
|
133 |
</ul>
|
134 |
</div>
|
135 |
<!-- Top Stats End -->
|
158 |
<td><?php echo $this->__('Message');?></td>
|
159 |
<td><?php echo $this->__('Total Sent');?></td>
|
160 |
<td><?php echo $this->__('Delivered');?></td>
|
161 |
+
<td><?php echo $this->__('Unsubscribed');?></td>
|
162 |
<td><?php echo $this->__('Clicked');?></td>
|
163 |
<td><?php echo $this->__('Created Date');?></td>
|
164 |
<td><?php echo $this->__('Is Campaign');?></td>
|
app/design/adminhtml/default/default/template/pushassist/notification.phtml
CHANGED
@@ -52,7 +52,7 @@ if($check_api_key!='' && $check_secret_key != '') {
|
|
52 |
<td><?php echo $this->__('Message')?></td>
|
53 |
<td><?php echo $this->__('Total Sent')?></td>
|
54 |
<td><?php echo $this->__('Delivered')?></td>
|
55 |
-
<td><?php echo $this->__('
|
56 |
<td><?php echo $this->__('Clicked')?></td>
|
57 |
<td><?php echo $this->__('Created Date')?></td>
|
58 |
</tr>
|
52 |
<td><?php echo $this->__('Message')?></td>
|
53 |
<td><?php echo $this->__('Total Sent')?></td>
|
54 |
<td><?php echo $this->__('Delivered')?></td>
|
55 |
+
<td><?php echo $this->__('Unsubscribed')?></td>
|
56 |
<td><?php echo $this->__('Clicked')?></td>
|
57 |
<td><?php echo $this->__('Created Date')?></td>
|
58 |
</tr>
|
app/design/adminhtml/default/default/template/pushassist/push_dashboard.phtml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
$check_api_key=Mage::app()->getStore()->getConfig('pushassistsection/general/apikey');
|
3 |
$check_secret_key=Mage::app()->getStore()->getConfig('pushassistsection/general/secretkey');
|
4 |
$dashboard_response = Mage::helper('pushassist')->get_dashboard();
|
5 |
-
|
6 |
$account_response = Mage::helper('pushassist')->get_account_details();
|
7 |
if(isset($account_response['account_name'])){
|
8 |
$account_url='https://'.$account_response['account_name'].'.pushassist.com/dashboard/';
|
@@ -27,38 +27,46 @@ if($check_api_key!='' && $check_secret_key != '' && (!isset($account_response['e
|
|
27 |
<div class="col-md-12">
|
28 |
<ul class="topstats clearfix">
|
29 |
<li class="col-xs-6 col-lg-2">
|
30 |
-
<span class="title"><i class="fa fa-users"></i> <?php echo $this->__('
|
31 |
-
<h3><?php echo $dashboard_response['
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
|
33 |
</li>
|
34 |
<li class="col-xs-6 col-lg-2">
|
35 |
-
<span class="title"><i class="fa fa-send"></i> <?php echo $this->__('
|
36 |
<h3 class="color-up"><?php echo $dashboard_response['stats_notification_sent']; ?></h3>
|
37 |
|
38 |
</li>
|
39 |
<li class="col-xs-6 col-lg-2">
|
40 |
-
<span class="title"><i class="fa fa-check-square-o"></i> <?php echo $this->__('
|
41 |
-
<h3 class="color-up"><?php echo $dashboard_response['stats_clicks'];
|
|
|
42 |
|
43 |
</li>
|
|
|
44 |
<?php if($account_response['planType']=='Paid'){ ?>
|
45 |
<li class="col-xs-6 col-lg-2">
|
46 |
-
<span class="title"><i class="fa fa-cogs"></i> <?php echo $this->__('
|
47 |
<h3><?php echo $dashboard_response['stats_campaigns']; ?></h3>
|
48 |
</li>
|
49 |
-
<?php } ?>
|
50 |
-
|
51 |
-
<span class="title"><i class="fa
|
52 |
-
<h3 class="color-up">
|
53 |
-
|
54 |
-
echo round($ctr,2);?>%</h3>
|
55 |
-
</li>
|
56 |
-
|
57 |
-
<li class="col-xs-6 col-lg-2">
|
58 |
-
<span class="title"><i class="fa fa-sitemap"></i> <?php echo $this->__('Sites');?> </span>
|
59 |
-
<h3 class="color-up"><?php echo $dashboard_response['sites_count']; ?></h3>
|
60 |
-
|
61 |
</li>
|
|
|
|
|
|
|
62 |
</ul>
|
63 |
</div>
|
64 |
<!-- Top Stats End -->
|
@@ -76,7 +84,7 @@ if($check_api_key!='' && $check_secret_key != '' && (!isset($account_response['e
|
|
76 |
<div class="col-md-12">
|
77 |
<ul class="topstats clearfix">
|
78 |
<li class="col-xs-6 col-lg-2">
|
79 |
-
<span class="title"><i class="fa fa-users"></i> <?php echo $this->__('
|
80 |
<h3><?php echo $dashboard_response['total_subscribers']; ?></h3>
|
81 |
<span class="diff">
|
82 |
<?php if ($dashboard_response['subscribers_change'] == 'negative') { ?>
|
@@ -87,8 +95,33 @@ if($check_api_key!='' && $check_secret_key != '' && (!isset($account_response['e
|
|
87 |
|
88 |
</b> <?php echo $this->__('from last week');?></span>
|
89 |
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
<li class="col-xs-6 col-lg-2">
|
91 |
-
<span class="title"><i class="fa fa-send"></i> <?php echo $this->__('
|
92 |
<h3><?php echo $dashboard_response['total_delivered']; ?></h3>
|
93 |
<span class="diff">
|
94 |
<?php if ($dashboard_response['delivered_change'] == 'negative') { ?>
|
@@ -103,7 +136,7 @@ if($check_api_key!='' && $check_secret_key != '' && (!isset($account_response['e
|
|
103 |
</li>
|
104 |
|
105 |
<li class="col-xs-6 col-lg-2">
|
106 |
-
<span class="title"><i class="fa fa-check-square-o"></i> <?php echo $this->__('
|
107 |
<h3 class="color-up"><?php echo $dashboard_response['total_clicks']; ?></h3>
|
108 |
<span class="diff">
|
109 |
<?php if ($dashboard_response['clicks_change'] == 'negative') { ?>
|
@@ -120,13 +153,13 @@ if($check_api_key!='' && $check_secret_key != '' && (!isset($account_response['e
|
|
120 |
<h3 class="color-up"><?php echo $dashboard_response['campaign_count']; ?></h3>
|
121 |
<span class="diff"><b class="color-down"></b> <?php echo $this->__('active this week');?></span>
|
122 |
</li>
|
123 |
-
<?php } ?>
|
124 |
<li class="col-xs-6 col-lg-2">
|
125 |
-
<span class="title"><i class="fa fa-send"></i> <?php echo $this->__('
|
126 |
-
<h3 class="color-up"><?php echo $dashboard_response['
|
127 |
<span class="diff"><b class="color-down"></b> <?php echo $this->__('created');?> </span>
|
128 |
</li>
|
129 |
-
|
130 |
|
131 |
</ul>
|
132 |
</div>
|
2 |
$check_api_key=Mage::app()->getStore()->getConfig('pushassistsection/general/apikey');
|
3 |
$check_secret_key=Mage::app()->getStore()->getConfig('pushassistsection/general/secretkey');
|
4 |
$dashboard_response = Mage::helper('pushassist')->get_dashboard();
|
5 |
+
|
6 |
$account_response = Mage::helper('pushassist')->get_account_details();
|
7 |
if(isset($account_response['account_name'])){
|
8 |
$account_url='https://'.$account_response['account_name'].'.pushassist.com/dashboard/';
|
27 |
<div class="col-md-12">
|
28 |
<ul class="topstats clearfix">
|
29 |
<li class="col-xs-6 col-lg-2">
|
30 |
+
<span class="title"><i class="fa fa-users"></i> <?php echo $this->__('Subscribers');?> </span>
|
31 |
+
<h3><?php echo $dashboard_response['active']+$dashboard_response['total_unsubscribed']; ?></h3>
|
32 |
+
|
33 |
+
</li>
|
34 |
+
<li class="col-xs-6 col-lg-2">
|
35 |
+
<span class="title"><i class="fa fa-bell"></i> <?php echo $this->__('Active');?> </span>
|
36 |
+
<h3><?php echo $dashboard_response['active']; ?></h3>
|
37 |
+
|
38 |
+
</li>
|
39 |
+
<li class="col-xs-6 col-lg-2">
|
40 |
+
<span class="title"><i class="fa fa-bell-slash"></i> <?php echo $this->__('Unsubscribed');?> </span>
|
41 |
+
<h3><?php echo $dashboard_response['total_unsubscribed']; ?></h3>
|
42 |
|
43 |
</li>
|
44 |
<li class="col-xs-6 col-lg-2">
|
45 |
+
<span class="title"><i class="fa fa-send"></i> <?php echo $this->__('Sent');?> </span>
|
46 |
<h3 class="color-up"><?php echo $dashboard_response['stats_notification_sent']; ?></h3>
|
47 |
|
48 |
</li>
|
49 |
<li class="col-xs-6 col-lg-2">
|
50 |
+
<span class="title"><i class="fa fa-check-square-o"></i> <?php echo $this->__('Clicked');?> </span>
|
51 |
+
<h3 class="color-up"><?php echo $dashboard_response['stats_clicks']; ?> (<?php $ctr=($dashboard_response['stats_clicks']*100)/$dashboard_response['stats_notification_sent'];
|
52 |
+
echo round($ctr,2);?>%)</h3>
|
53 |
|
54 |
</li>
|
55 |
+
|
56 |
<?php if($account_response['planType']=='Paid'){ ?>
|
57 |
<li class="col-xs-6 col-lg-2">
|
58 |
+
<span class="title"><i class="fa fa-cogs"></i> <?php echo $this->__('Campaigns');?> </span>
|
59 |
<h3><?php echo $dashboard_response['stats_campaigns']; ?></h3>
|
60 |
</li>
|
61 |
+
<?php }else{ ?>
|
62 |
+
<li class="col-xs-6 col-lg-2">
|
63 |
+
<span class="title"><i class="fa fa-eye"></i> <?php echo $this->__('Viewed');?> </span>
|
64 |
+
<h3 class="color-up"><?php echo $dashboard_response['stats_notification_sent']; ?></h3>
|
65 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
</li>
|
67 |
+
|
68 |
+
<?php } ?>
|
69 |
+
|
70 |
</ul>
|
71 |
</div>
|
72 |
<!-- Top Stats End -->
|
84 |
<div class="col-md-12">
|
85 |
<ul class="topstats clearfix">
|
86 |
<li class="col-xs-6 col-lg-2">
|
87 |
+
<span class="title"><i class="fa fa-users"></i> <?php echo $this->__('Subscribers');?> </span>
|
88 |
<h3><?php echo $dashboard_response['total_subscribers']; ?></h3>
|
89 |
<span class="diff">
|
90 |
<?php if ($dashboard_response['subscribers_change'] == 'negative') { ?>
|
95 |
|
96 |
</b> <?php echo $this->__('from last week');?></span>
|
97 |
</li>
|
98 |
+
<li class="col-xs-6 col-lg-2">
|
99 |
+
<span class="title"><i class="fa fa-bell"></i> <?php echo $this->__('Active');?> </span>
|
100 |
+
<h3><?php echo $dashboard_response['active_subscribers']; ?></h3>
|
101 |
+
<span class="diff">
|
102 |
+
<?php if ($dashboard_response['active_subscribers_change'] == 'negative') { ?>
|
103 |
+
<b class="color-down"><i class="fa fa-caret-down"></i> <?php echo $dashboard_response['active_subscribers_percentage']; ?>
|
104 |
+
<?php } if ($dashboard_response['active_subscribers_change'] == 'positive') { ?>
|
105 |
+
<b class="color-up"><i class="fa fa-caret-up"></i> <?php echo $dashboard_response['active_subscribers_percentage']; ?>
|
106 |
+
<?php } ?>%
|
107 |
+
|
108 |
+
</b> <?php echo $this->__('from last week');?></span>
|
109 |
+
</li>
|
110 |
+
<li class="col-xs-6 col-lg-2">
|
111 |
+
<span class="title"><i class="fa fa-bell-slash"></i> <?php echo $this->__('Unsubscribed');?> </span>
|
112 |
+
<h3><?php echo $dashboard_response['unsubscribed']; ?></h3>
|
113 |
+
<span class="diff">
|
114 |
+
<?php if ($dashboard_response['unsubscribed_change'] == 'negative') { ?>
|
115 |
+
<b class="color-down"><i class="fa fa-caret-down"></i> <?php echo $dashboard_response['unsubscribed_percentage']; ?>
|
116 |
+
<?php } if ($dashboard_response['unsubscribed_change'] == 'positive') { ?>
|
117 |
+
<b class="color-up"><i class="fa fa-caret-up"></i> <?php echo $dashboard_response['unsubscribed_percentage']; ?>
|
118 |
+
<?php } ?>%
|
119 |
+
|
120 |
+
</b> <?php echo $this->__('from last week');?></span>
|
121 |
+
</li>
|
122 |
+
|
123 |
<li class="col-xs-6 col-lg-2">
|
124 |
+
<span class="title"><i class="fa fa-send"></i> <?php echo $this->__('Sent');?> </span>
|
125 |
<h3><?php echo $dashboard_response['total_delivered']; ?></h3>
|
126 |
<span class="diff">
|
127 |
<?php if ($dashboard_response['delivered_change'] == 'negative') { ?>
|
136 |
</li>
|
137 |
|
138 |
<li class="col-xs-6 col-lg-2">
|
139 |
+
<span class="title"><i class="fa fa-check-square-o"></i> <?php echo $this->__('Clicked');?> </span>
|
140 |
<h3 class="color-up"><?php echo $dashboard_response['total_clicks']; ?></h3>
|
141 |
<span class="diff">
|
142 |
<?php if ($dashboard_response['clicks_change'] == 'negative') { ?>
|
153 |
<h3 class="color-up"><?php echo $dashboard_response['campaign_count']; ?></h3>
|
154 |
<span class="diff"><b class="color-down"></b> <?php echo $this->__('active this week');?></span>
|
155 |
</li>
|
156 |
+
<?php }else{ ?>
|
157 |
<li class="col-xs-6 col-lg-2">
|
158 |
+
<span class="title"><i class="fa fa-send"></i> <?php echo $this->__('Viewed');?> </span>
|
159 |
+
<h3 class="color-up"><?php echo $dashboard_response['total_delivered']; ?></h3>
|
160 |
<span class="diff"><b class="color-down"></b> <?php echo $this->__('created');?> </span>
|
161 |
</li>
|
162 |
+
<?php } ?>
|
163 |
|
164 |
</ul>
|
165 |
</div>
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Webpushnotification_Pushassist</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="https://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
-
<summary>Push Notification Delivery &
|
10 |
<description>Quickly Send push notifications from desktop or mobile websites to your site users. Powerful APIs and tools that allow you to send, receive and track push messages. Set up trigger marketing campaigns, schedule push notification and much more. Quick 5 minutes setup to implement push notifications for ANY website.</description>
|
11 |
-
<notes>Built a stable version 1.0.
|
12 |
<authors><author><name>PushAssist Team</name><user>PushAssist</user><email>support@pushassist.com</email></author></authors>
|
13 |
-
<date>
|
14 |
-
<time>14:
|
15 |
-
<contents><target name="magecommunity"><dir name="Webpushnotification"><dir name="Pushassist"><dir name="Block"><dir name="Adminhtml"><file name="Campaign.php" hash="df4a8dc02241f6b486ec539bc2e71370"/><file name="Createaccount.php" hash="2775e933f8b780e022fa3ff0b88b076e"/><file name="Createcampaign.php" hash="318eb9deab2bfc9a8c4cad81449aaf0f"/><file name="Createsegments.php" hash="94ef9183a9c9a56bfb3dece4c4e97fce"/><file name="Dashboard.php" hash="56e56097a9ec2421218ef8d54e8a5e36"/><file name="Notificationmain.php" hash="c5407e7f33659982ce1e12287e96b541"/><file name="Notificationsend.php" hash="c82ebd53ae7efb4c24cb168e75e8ed44"/><file name="Segments.php" hash="2b4bb8731d1ffc0509210e4b0526e247"/><file name="Settings.php" hash="4f9df0d6b916eaaf9bdaec67284740f0"/><file name="Subscribers.php" hash="7698cd83f156fac6ddea9219716508a5"/></dir><file name="Script.php" hash="e2dab9416d5b5f3c4c0b61d0874f8291"/></dir><dir name="Helper"><file name="Data.php" hash="cb10328b6d7059f5173de2ee373a447e"/></dir><dir name="Model"><file name="Observer.php" hash="e9364016a56eac61d77dd8cb403439c6"/></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Pushassist"><file name="CampaignController.php" hash="d948db17d7620d0f84fcaa6e455c5b2f"/><file name="CampaignlistController.php" hash="693d94b5c087f2f1339ea192df4c10ab"/><file name="CreateaccountController.php" hash="800903fddaf89755ee99714fb0f7eaa3"/><file name="CreatecampaignController.php" hash="50f14a68cc26ba3fcbc55207f9612aa6"/><file name="CreatesegmentsController.php" hash="b2e45413a9bdb163d35a84896f8a2173"/><file name="DashboardController.php" hash="cbd8c12f1d2ca2072944bb80b1cd2d88"/><file name="NotificationmainController.php" hash="319b0b896ce243f64ccb7aa12f130ef0"/><file name="NotificationsendController.php" hash="b94a751c6ee61ce27b80d6aa06d0d95b"/><file name="SegmentsController.php" hash="8d366c16f7e8817413e0492a919ce61d"/><file name="SettingsController.php" hash="6c6ef26a2fdcfd9f41f8b896d9219c52"/><file name="SubscribersController.php" hash="7c941c29948e69b6aabd90b44e4a63fa"/></dir></dir></dir><dir name="etc"><file name="config.xml" hash="
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Webpushnotification_Pushassist</name>
|
4 |
+
<version>1.0.11</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="https://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
+
<summary>Push Notification Delivery & Analytics for Websites and Mobile. Send Push Notifications to your customers and store visitors.</summary>
|
10 |
<description>Quickly Send push notifications from desktop or mobile websites to your site users. Powerful APIs and tools that allow you to send, receive and track push messages. Set up trigger marketing campaigns, schedule push notification and much more. Quick 5 minutes setup to implement push notifications for ANY website.</description>
|
11 |
+
<notes>Built a stable version 1.0.11</notes>
|
12 |
<authors><author><name>PushAssist Team</name><user>PushAssist</user><email>support@pushassist.com</email></author></authors>
|
13 |
+
<date>2017-01-03</date>
|
14 |
+
<time>14:02:26</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Webpushnotification"><dir name="Pushassist"><dir name="Block"><dir name="Adminhtml"><file name="Campaign.php" hash="df4a8dc02241f6b486ec539bc2e71370"/><file name="Createaccount.php" hash="2775e933f8b780e022fa3ff0b88b076e"/><file name="Createcampaign.php" hash="318eb9deab2bfc9a8c4cad81449aaf0f"/><file name="Createsegments.php" hash="94ef9183a9c9a56bfb3dece4c4e97fce"/><file name="Dashboard.php" hash="56e56097a9ec2421218ef8d54e8a5e36"/><file name="Notificationmain.php" hash="c5407e7f33659982ce1e12287e96b541"/><file name="Notificationsend.php" hash="c82ebd53ae7efb4c24cb168e75e8ed44"/><file name="Segments.php" hash="2b4bb8731d1ffc0509210e4b0526e247"/><file name="Settings.php" hash="4f9df0d6b916eaaf9bdaec67284740f0"/><file name="Subscribers.php" hash="7698cd83f156fac6ddea9219716508a5"/></dir><file name="Script.php" hash="e2dab9416d5b5f3c4c0b61d0874f8291"/></dir><dir name="Helper"><file name="Data.php" hash="cb10328b6d7059f5173de2ee373a447e"/></dir><dir name="Model"><file name="Observer.php" hash="e9364016a56eac61d77dd8cb403439c6"/></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Pushassist"><file name="CampaignController.php" hash="d948db17d7620d0f84fcaa6e455c5b2f"/><file name="CampaignlistController.php" hash="693d94b5c087f2f1339ea192df4c10ab"/><file name="CreateaccountController.php" hash="800903fddaf89755ee99714fb0f7eaa3"/><file name="CreatecampaignController.php" hash="50f14a68cc26ba3fcbc55207f9612aa6"/><file name="CreatesegmentsController.php" hash="b2e45413a9bdb163d35a84896f8a2173"/><file name="DashboardController.php" hash="cbd8c12f1d2ca2072944bb80b1cd2d88"/><file name="NotificationmainController.php" hash="319b0b896ce243f64ccb7aa12f130ef0"/><file name="NotificationsendController.php" hash="b94a751c6ee61ce27b80d6aa06d0d95b"/><file name="SegmentsController.php" hash="8d366c16f7e8817413e0492a919ce61d"/><file name="SettingsController.php" hash="6c6ef26a2fdcfd9f41f8b896d9219c52"/><file name="SubscribersController.php" hash="7c941c29948e69b6aabd90b44e4a63fa"/></dir></dir></dir><dir name="etc"><file name="config.xml" hash="83f9c94342d45d87ef1a3a16f99d6854"/></dir><dir name="sql"><dir name="pushassist_setup"><file name="mysql4-install-1.0.8.php" hash="3f690b91defd911af9a1fb2ec1ed335f"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="pushassist.xml" hash="a8bbbe4afa099e9d01525d00574ebef4"/></dir><dir name="template"><dir name="pushassist"><file name="campaign.phtml" hash="473cd90965e5bb32b0e566a3e5f1151e"/><file name="create_account.phtml" hash="95498831445926a90848067d62663b97"/><file name="createcampaign.phtml" hash="a21a1801a1ece9d2481555e86f453cfd"/><file name="createsegments.phtml" hash="ff0c51cd59c9d89d69211fb578f7e4fc"/><file name="dashboard.phtml" hash="322850d57386c48e2569d8fff0b2ea7c"/><file name="notification.phtml" hash="3e0d7735510c7f4a7647b232b8fc348a"/><file name="push_dashboard.phtml" hash="f0d3f3a75f555640e810894f536ec67e"/><file name="segments.phtml" hash="cdc6ebeb064d774bec1ca24706b2eb59"/><file name="sendnotification.phtml" hash="92b786291beb96588d593141ce3ca173"/><file name="settings.phtml" hash="e7e1e5dc96e49ec4788f9f35d06dacbf"/><file name="subscribers.phtml" hash="edfa485993e06fdafbfc04f2d09ec21b"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Webpushnotification_Pushassist.xml" hash="d32b8e99774c18aa5aab352cfdd06e96"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="pushassist"><file name="bootstrap-datetimepicker.min.css" hash="fa0a2cb4d62d4a578174324afdec0be6"/><file name="bootstrap-select.css" hash="71fcb49a14eaea2be04acb5fc54ebbe1"/><file name="bootstrap.min.css" hash="eedf9ee80c2faa4e1b9ab9017cdfcb88"/><file name="campaign.png" hash="fb1f5604466870a9f35dcd62eb6c562f"/><file name="content_base.css" hash="f5892c76d035d78e2e5aba2038778bf4"/><dir name="images"><file name="btn_bg.gif" hash="37c51a4d48a92da9648dcd3ca011039f"/></dir><dir name="imgUpload"><file name="jquery.fileupload.css" hash="2ee732f8354790746644b312b7b2df1b"/><file name="jquery.fileupload.js" hash="25360c56ade52c72edf654045580c1ce"/><file name="jquery.ui.widget.js" hash="0b44270691b4abf4e38e1a45928a3dc6"/></dir><file name="notification_setting.png" hash="8bf9fbc3ef19ab67e1da8f3849d53a9f"/><file name="pushassist_opt_in_box_setting.png" hash="79feadfc5795b25fc2cb3092272c3e95"/></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="pushassist"><file name="bootstrap-datetimepicker.js" hash="3476fc7070ebef66f2c3a6c1c7f3a408"/><file name="bootstrap-select.js" hash="1b4396af90dda85e5e06782133aaa443"/><file name="bootstrap.min.js" hash="8c237312864d2e4c4f03544cd4f9b195"/><file name="jquery.min.js" hash="8101d596b2b8fa35fe3a634ea342d7c3"/><file name="plugins.js" hash="d671d70560ecac1b27b328f643f76fc2"/></dir></dir></target><target name="magelocale"><dir><dir name="en_US"><file name="Webpushnotification_Pushassist.csv" hash="4cee55524c735f91e1313afd6e09c0a2"/></dir><dir name="fr_FR"><file name="Webpushnotification_Pushassist.csv" hash="f333463a98bdb3daa77102db1de6a2b8"/></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|