abef50c503
The manage devices link used `devices_path` but the route is defined in the saas engine, so it needs `saas.devices_path`. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
15 lines
581 B
Plaintext
15 lines
581 B
Plaintext
<div class="native-devices margin-block-start">
|
|
<h3 class="txt-small txt-uppercase divider">Mobile Devices</h3>
|
|
|
|
<% if Current.identity.devices.any? %>
|
|
<p class="txt-small">
|
|
You have <%= pluralize(Current.identity.devices.count, "mobile device") %> registered for push notifications.
|
|
</p>
|
|
<%= link_to "Manage devices", saas.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>
|