{# @description The preferences page's push card: whether this browser receives push, the control that turns it on, and every browser of the person's that receives it, each with a button that stops it. Replace it by shipping a component of the same name. #} {# @prop push:object | description:"subscriptions, the person's active push subscriptions newest first, just_turned_on, whether push was turned on in the request before this one, application_server_key, the site's public key, and worker_url and subscribe_url, the service worker and the view that stores a subscription." #} {% load i18n %}
{% csrf_token %}
{% trans "Get your notifications on this device as they happen, even when the site is closed. When you turn push on, your browser asks whether to allow notifications from this site." %} {% trans "Your browser is asking whether to allow notifications. Choose Allow to turn push on." %}
{% trans "Turn on push for this browser" %}
{% if push.just_turned_on %} {% trans "Push is on for this browser. A test notification is on its way." %} {% else %} {% trans "Push is on for this browser. The notifications you have on for push arrive here." %} {% endif %}
{% trans "Notifications from this site are blocked in this browser. To get push here, allow notifications for this site in your browser's settings, then reload this page." %}
{% trans "On iPhone and iPad, push only reaches the site from your Home Screen. Tap Share, choose Add to Home Screen, then open the site from there and turn push on." %}
{% trans "This browser can't receive push notifications. You still get your notifications on the site." %}
{% if push.subscriptions %}

{% trans "Browsers receiving push" %}

{% for subscription in push.subscriptions %} {% endfor %} {% endif %}