{{ _('Add-on visibility') }}

{% if not addon.is_listed %}

{{ _('Why can\'t I switch to Listed or Hidden?') }}

{{ _('Due to technical limitations, you need to delete your entire add-on and resubmit it using this AMO account in order to switch your add-on to listed. The process is described in detail in this documentation.').format( link='https://developer.mozilla.org/en-US/Add-ons/Distribution') }}

{% endif %} {% set owner = check_addon_ownership(request, addon, dev=True) %}





{% if check_addon_ownership(request, addon) and addon.can_be_deleted() %} {{ _('Delete Add-on') }} {% endif %}
{% set latest_listed_version=addon.find_latest_version(channel=amo.RELEASE_CHANNEL_LISTED) %}

{{ _('Current versions') }}

{% if addon.current_version %}
{{ version_details(addon.current_version, full_info=(not latest_listed_version or latest_listed_version == addon.current_version)) }}
{{ _('Currently on AMO') }} {{ _('Status') }} {{ _('Validation') }} {{ _('Delete/Disable') }}
{% endif %} {% if latest_listed_version and latest_listed_version != addon.current_version %}
{{ version_details(latest_listed_version, full_info=True) }}
{{ _('Next version of this add-on') }} {{ _('Status') }} {{ _('Validation') }} {{ _('Delete/Disable') }}
{% endif %}

{{ _('Older versions') }}

{% for version in versions.object_list %} {% if version != addon.current_version and version != latest_listed_version %} {{ version_details(version) }} {% endif %} {% endfor %}
{{ _('Version') }} {{ _('Status') }} {{ _('Validation') }} {{ _('Delete/Disable') }}
{{ _('Upload a New Version') }}
{% if versions.paginator.num_pages > 1 %} {% endif %}