diff options
| author | stone <jules+okfprojz@okfoc.us> | 2017-09-23 16:18:44 -0400 |
|---|---|---|
| committer | stone <jules+okfprojz@okfoc.us> | 2017-09-23 16:18:44 -0400 |
| commit | 9fef3483d9c3b2e5e3508b8e5bb5ed080e65ca93 (patch) | |
| tree | 87657d6847f71c0c82369f2eaf9da498e9e55136 /lib/okpush/templates/index.liquid | |
| parent | 20544c056ad5e8a03ce61061028194a4ce501a76 (diff) | |
| parent | 709af63b290214b79271d96518e2ed51468e09f3 (diff) | |
Merge branch 'cms' of ghghgh.us:stone-island into cms
Diffstat (limited to 'lib/okpush/templates/index.liquid')
| -rw-r--r-- | lib/okpush/templates/index.liquid | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/okpush/templates/index.liquid b/lib/okpush/templates/index.liquid index ec639646..beb2c7e2 100644 --- a/lib/okpush/templates/index.liquid +++ b/lib/okpush/templates/index.liquid @@ -42,6 +42,7 @@ tr:nth-child(2n+1) { <th>Tokens</th> <th></th> </tr> + {% assign count = notifications.hub.count %} {% for pair in notifications %} {% assign name = pair[0] %} {% assign spec = pair[1] %} @@ -53,10 +54,10 @@ tr:nth-child(2n+1) { {{spec.alert}} </td> <td> - {{spec.count}} + {{count}} </td> <td> - <button data-key="{{name}}" data-count="{{spec.count}}" class="btn">send</button> + <button data-key="{{name}}" data-count="{{count}}" class="btn">send</button> </td> </tr> {% endfor %} |
