{{ _('Current Status') }}

{% if addon.disabled_by_user and addon.status != amo.STATUS_DISABLED %} {% if webapp %} {{ status(loc('You have disabled this app.')|safe) }} {{ loc("Your app's listing is disabled and is not showing anywhere in our gallery. You may re-enable it at any time below.") }} {% else %} {{ status(_('You have disabled this add-on.')|safe) }} {{ _("Your add-on's listing is disabled and is not showing anywhere in our gallery or update service. You may re-enable it at any time below.") }} {% endif %} {% elif addon.status == amo.STATUS_NULL %} {% if webapp %} {{ status(loc('This app is incomplete.')|safe) }} {% else %} {{ status(_('This add-on is incomplete.')|safe) }} {% endif %} {% if webapp %} {{ _('Please complete your app.') -}} {% else %} {{ _('Please complete your add-on.') -}} {% endif %} {% elif addon.status == amo.STATUS_PENDING %} {{ status(loc('This app is awaiting review.')|safe) }} {{ loc('You will receive an email when the review is complete.') }} {% elif addon.status == amo.STATUS_UNREVIEWED %} {% if webapp %} {{ status(loc('This app is awaiting preliminary review.')|safe) }} {{ loc("You will receive an email when the review is complete. Until then, your app is not listed in our gallery but can be accessed directly from its details page.") }} {% else %} {{ status(_('This add-on is awaiting preliminary review.')|safe) }} {{ _("You will receive an email when the review is complete. Until then, your add-on is not listed in our gallery but can be accessed directly from its details page.") }} {% endif %} {% elif addon.status == amo.STATUS_NOMINATED %} {{ status(_('This add-on is awaiting full review.')|safe) }} {{ _("You will receive an email when the review is complete. Until then, your add-on is not listed in our gallery but can be accessed directly from its details page. ") }} {% elif addon.status == amo.STATUS_PUBLIC %} {% if webapp %} {{ status(loc('This app is public.')|safe) }} {{ loc('Your app is displayed in our gallery.') }} {% else %} {{ status(_('This add-on has been fully reviewed.')|safe) }} {{ _("Your add-on is displayed in our gallery and users are receiving automatic updates.") }} {% endif %} {% elif addon.status == amo.STATUS_DISABLED %} {% if webapp %} {{ status(loc('This app has been disabled by Mozilla.')|safe) }} {{ loc("Your app was disabled by a site administrator and is no longer shown in our gallery. If you have any questions, please email amo-admins@mozilla.org.") }} {% else %} {{ status(_('This add-on has been disabled by Mozilla.')|safe) }} {{ _("Your add-on was disabled by a site administrator and is no longer shown in our gallery. If you have any questions, please email amo-admins@mozilla.org.") }} {% endif %} {% endif %} {% if webapp %} {# TODO(apps): Enable link when marketplace docs are done. {% if not (addon.is_disabled or addon.is_incomplete()) %} {{ _('Learn more') }} {% endif %} #} {% else %} {% if addon.status == amo.STATUS_LITE %} {{ status(_('This add-on has been preliminarily reviewed.')|safe) }} {{ _("Your add-on is displayed in our gallery as experimental and users are receiving automatic updates. Some features are unavailable to your add-on.") }} {% elif addon.status == amo.STATUS_LITE_AND_NOMINATED %} {% if webapp %} {{ status(loc('This app has been preliminarily reviewed and is awaiting full review.')|safe) }} {{ loc("You will receive an email when the full review is complete. Until then, your app is displayed in our gallery as experimental and users are receiving automatic updates. Some features are unavailable to your app.") }} {% else %} {{ status(_('This add-on has been preliminarily reviewed and is awaiting full review.')|safe) }} {{ _("You will receive an email when the full review is complete. Until then, your add-on is displayed in our gallery as experimental and users are receiving automatic updates. Some features are unavailable to your add-on.") }} {% endif %} {% elif addon.status == amo.STATUS_PURGATORY %} {{ status(_('Please select a review option.')) }} {{ _("All add-ons hosted in our gallery must now be reviewed by an editor. If you wish to continue hosting your add-on, please select a review process from the choices below.") }} {% endif %} {% if not (addon.is_disabled or addon.is_incomplete()) %} {{ _('Learn more') }} {% endif %} {% endif %}
{% if not webapp %} {% if position %} {% trans pos=position['pos'], total=position['total'] %} Queue Position: {{ pos }} of {{ total }} {% endtrans %} · {% endif %} {% if check_addon_ownership(request, addon, dev=True) %} {% set req = {amo.STATUS_PUBLIC: _('Request Full Review'), amo.STATUS_LITE: _('Request Preliminary Review')} %} {% for status in addon.can_request_review() %}
{{ csrf() }} ·
{% endfor %} {% set days = addon.days_until_full_nomination() %} {% if days != 0 %} {{ ngettext('Full nomination will be available in {0} day', 'Full nomination will be available in {0} days', days)|f(days) }} {% endif %} {% if not addon.is_disabled and addon.is_under_review %} {{ _('Cancel Review Request') }} · {% endif %} {% endif %} {% endif %} {% if check_addon_ownership(request, addon, dev=True) %} {% if addon.disabled_by_user and addon.status != amo.STATUS_DISABLED %} {{ loc('Enable App') if webapp else _('Enable Add-on') }} {% elif not addon.is_disabled %} {{ loc('Disable App') if webapp else _('Disable Add-on') }} {% endif %} {% endif %} {% if check_addon_ownership(request, addon) and addon.can_be_deleted() %} · {{ loc('Delete App') if webapp else _('Delete Add-on') }} {% endif %} {% if not webapp %} {% set current = addon.current_version %} {% if current %} {{ _('Displayed version: {0}')|f(current.version) }} {% endif %} {% endif %}
{% if not webapp %}

{{ _('Version History') }}

{% if waffle.flag('perf-tests') %} {% endif %} {% for version in versions.object_list %} {% if waffle.flag('perf-tests') %} {% endif %} {% endfor %}
{{ _('Version') }} {{ _('Submitted') }} {{ _('Status') }} {{ _('Validation') }}{{ _('Performance') }}{{ _('Delete') }}
{{ _('Upload a New Version') }}
{{ _('Version {0}', 'addon_display_header_version')|f(version.version) }} {{ version.created|datetime }} {% for count, status in dev_files_status(version.all_files, addon) %}
{# L10n: {0} is the number of files, {1} is the status #} {{ ngettext('{0} file is {1}', '{0} files are {1}', count)|f(count, status) }}
{% else %} {{ _('0 files') }} {% endfor %}
{% include "devhub/addons/listing/perf_file_listing.html" %} x
{% if versions.paginator.num_pages > 1 %} {% endif %}
{% endif %}