summaryrefslogtreecommitdiff
path: root/lib/okpush/templates/index.liquid
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2017-09-21 01:34:58 +0200
committerJules Laplace <julescarbon@gmail.com>2017-09-21 01:34:58 +0200
commite6c2b28c9824cae592c59c4838d12ae98fb27f9e (patch)
treea30e9419a4b5d6e1c0ffab09c1549a16600fd790 /lib/okpush/templates/index.liquid
parent6196c6d19a8fb8f7a008eba455a54c8e5b1f2160 (diff)
form for custom push notifications
Diffstat (limited to 'lib/okpush/templates/index.liquid')
-rw-r--r--lib/okpush/templates/index.liquid15
1 files changed, 4 insertions, 11 deletions
diff --git a/lib/okpush/templates/index.liquid b/lib/okpush/templates/index.liquid
index 124fb4ee..ec639646 100644
--- a/lib/okpush/templates/index.liquid
+++ b/lib/okpush/templates/index.liquid
@@ -11,9 +11,6 @@ th {
th:nth-child(2) {
min-width: 300px;
}
-th:nth-child(3) {
- min-width: 170px;
-}
table,tr,th,td {
margin: 0;
padding: 0;
@@ -33,12 +30,15 @@ tr:nth-child(2n+1) {
<section class="main resource">
<h2>Push Notifications</h2>
+
+ <p>
+ <a href="/_services/push/new">Send custom push notification</a>
+ </p>
<table class="notifications" cellpadding="0" cellspacing="0">
<tr>
<th>Key</th>
<th>Message</th>
- <th>Last Push</th>
<th>Tokens</th>
<th></th>
</tr>
@@ -52,13 +52,6 @@ tr:nth-child(2n+1) {
<td>
{{spec.alert}}
</td>
- <td class="notification-date">
- {% unless spec.last_push %}
- Never
- {% else %}
- {{ spec.last_push | date: "%a %d-%b-%Y %H:%M" }}
- {% endunless %}
- </td>
<td>
{{spec.count}}
</td>