{% extends "admin/base.html" %} {% set title = 'Jetpack' %} {% block title %}{{ page_title(title) }}{% endblock %} {% block extrahead %} {% endblock %} {% set minver, maxver = upgrader.jetpack_versions() %} {% block js %} {% endblock %} {% macro jetpack_head() %} Add-on Version Status Jetpack File {% if upgrading %} Upgrade {% endif %} {% endmacro %} {% macro jetpack_row(file, is_upgraded=False) %} {% if upgrading and file.id|string in repack_status %} {% set repack = repack_status[file.id|string] %} {% set failed = repack.status == 'failed' %} {% endif %} {{ file.version.addon_id }} {{ file.version.version }} {{ amo.STATUS_CHOICES[file.status] }} {{ file.jetpack_version }} {{ file.id }} {% if upgrading %} {% if repack %} {% if failed %}
{{ repack.msg }}
{% else %} {{ repack.status }} {{ repack.time|timesince }} {% endif %} {% else %} {% endif %} Resend {% endif %} {% endmacro %} {% block content %}

{{ title }}

Jetpacks created with the builder having SDK versions {{ minver }} – {{ maxver }} {{ 'are being' if upgrading else 'will be' }} upgraded. Select a different range.

{{ csrf() }} {{ form.minver }} to {{ form.maxver }} or Cancel
{{ csrf() }} {% if upgrading %}

Upgrade in progress…

We're running an upgrade to Jetpack {{ upgrading }} right now! Patience, my child.

{% else %}

Are you sure you want to upgrade?

{{ need_upgrade|length }} file(s) below will be upgraded to {{ maxver }} when you press the button.

{{ jetpack_head() }} {% for file in need_upgrade %} {{ jetpack_row(file) }} {% endfor %}
{% if settings.SEND_REAL_EMAIL %}

Note: upgrade emails will be sent to developers.

{% else %}

Upgrade emails will not be sent to developers. You can find the logged emails at admin/mail.

{% endif %} {% endif %}

{% if upgrading %} {% else %} {% endif %}

Jetpack Tallies

{% for version, count in by_version.items()|sort %} {% endfor %}
Jetpack Version Count
{{ version }} {{ count }}
Total {{ jetpacks|length }}

Jetpack Files

These are all the Jetpack files we know about. Disabled files and add-ons are excluded.

{{ jetpack_head() }} {% for status, files in repacked %} {% endfor %} {% if subset %} {% else %} {% endif %}
{{ status }}
{% for file in files %} {{ jetpack_row(file.file, True) }} {% endfor %}
Show all repacked for version
{% for file in subset %} {{ jetpack_row(file) }} {% endfor %}

No Jetpacks found.

{% endblock %}