3c54cd84fc
- Add action_push_native gem and SaaS configuration - Add device registration API and UI - Add User::Devices concern - Add NotificationPusher::Native for push delivery - Add tests and fixtures for native push
15 lines
574 B
Plaintext
15 lines
574 B
Plaintext
<div class="native-devices margin-block-start">
|
|
<h3 class="txt-small txt-uppercase divider">Mobile Devices</h3>
|
|
|
|
<% if Current.user.devices.any? %>
|
|
<p class="txt-small">
|
|
You have <%= pluralize(Current.user.devices.count, "mobile device") %> registered for push notifications.
|
|
</p>
|
|
<%= link_to "Manage devices", users_devices_path, class: "btn txt-small" %>
|
|
<% else %>
|
|
<p class="txt-small color-secondary">
|
|
No mobile devices registered. Install the iOS or Android app to receive push notifications on your phone.
|
|
</p>
|
|
<% end %>
|
|
</div>
|