summaryrefslogtreecommitdiff
path: root/lib/okpush/templates
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2017-02-19 01:23:53 +0100
committerJules Laplace <jules@okfoc.us>2017-02-19 01:23:53 +0100
commitcf85cc2b75b9c3ead3a693b6fa0feeca5b9e70ba (patch)
tree160499d95dac5d1df01b45490b735d2b60e814e1 /lib/okpush/templates
parentd6be5583190174bd45c417b934b36e4469ab3441 (diff)
counts
Diffstat (limited to 'lib/okpush/templates')
-rw-r--r--lib/okpush/templates/index.liquid6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/okpush/templates/index.liquid b/lib/okpush/templates/index.liquid
index 10772b55..1db77a58 100644
--- a/lib/okpush/templates/index.liquid
+++ b/lib/okpush/templates/index.liquid
@@ -34,13 +34,12 @@ tr:nth-child(2n+1) {
<h2>Push Notifications</h2>
- <div class="device-count" data-count="{{ device_count }}">Device count: {{ device_count }}</div>
-
<table class="notifications" cellpadding="0" cellspacing="0">
<tr>
<th>Key</th>
<th>Message</th>
<th>Last Push</th>
+ <th>Registrations</th>
<th></th>
</tr>
{% for pair in notifications %}
@@ -61,6 +60,9 @@ tr:nth-child(2n+1) {
{% endunless %}
</td>
<td>
+ {{spec.count}}
+ </td>
+ <td>
<button data-key="{{name}}" class="btn">send</button>
</td>
</tr>