{% from "includes/forms.html" import tip %} {% macro status_and_tip(addon, tip, url='') %} {% if not url %} {% set url = addon.get_dev_url('versions') %} {% endif %} {% if addon.status != amo.STATUS_DISABLED and addon.disabled_by_user %} {{ _('You have disabled this add-on') }} {% else %} {{ addon.STATUS_CHOICES[addon.status] }} {% endif %} ? {% endmacro %} {% if addon.has_listed_versions() %} {% if addon.has_unlisted_versions() %}
  • AMO
  • {% endif %}
  • {{ _('Status:') }} {% if addon.disabled_by_user and addon.status != amo.STATUS_DISABLED %} {{ status_and_tip(addon, _("Your add-on's listing is disabled and is not showing " "anywhere in our gallery or update service.")) }} {% elif addon.status == amo.STATUS_NULL %} {{ status_and_tip(addon, _('Please complete your add-on.'), url=url('devhub.submit.resume', addon.slug)) }} {% elif addon.status == amo.STATUS_NOMINATED %} {{ status_and_tip(addon, _("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 %} {{ status_and_tip(addon, _("Your add-on is displayed in our gallery and users are " "receiving automatic updates.")) }} {% elif addon.status == amo.STATUS_DISABLED %} {{ status_and_tip(addon, _("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 %}
  • {{ _('Visibility:') }} {% if not addon.is_disabled and not addon.status == amo.STATUS_NULL %} {{ _('Visible') }} {% else %} {{ _('Invisible') }} {% endif %}
  • {% if addon.current_version %}
  • {{ _('Listed Version:') }} {{ addon.current_version.version }} ?
  • {% endif %} {% set latest_listed_version = addon.find_latest_version(channel=amo.RELEASE_CHANNEL_LISTED) %} {% if latest_listed_version and latest_listed_version != addon.current_version %}
  • {{ _('Next Listed Version:') }} {{ latest_listed_version.version }} ?
  • {% endif %} {% with position = get_position(addon) %} {% if position and position.pos and position.total %}
  • {{ _('Queue Position:') }} {% trans position=position.pos|numberfmt, total=position.total|numberfmt %} {{ position }} of {{ total }} {% endtrans %}
  • {% endif %} {% endwith %} {% endif %} {% if addon.has_unlisted_versions() %} {% if addon.has_listed_versions() %}
  • Self
  • {% elif addon.status == amo.STATUS_DISABLED %}
  • {{ _('Status:') }} {{ status_and_tip(addon, _("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 %} {% set latest_unlisted_version=addon.find_latest_version(channel=amo.RELEASE_CHANNEL_UNLISTED) %}
  • {{ _('Lastest Unlisted Version:') }} {{ latest_unlisted_version.version }} ?
  • {% endif %} {% if sorting == 'created' %}
  • {{ _('Created:') }} {# L10n: {0} is a date. dennis-ignore: E201,E202,W202 #} {{ addon.created|datetime(_('%%b %%e, %%Y')) }}
  • {% else %}
  • {{ _('Last Updated:') }} {# L10n: {0} is a date. dennis-ignore: E201,E202,W202 #} {{ addon.last_updated|datetime(_('%%b %%e, %%Y')) }}
  • {% endif %} {% if addon.type == amo.ADDON_EXTENSION and amo.FIREFOX in addon.compatible_apps %}
  • {{ _('Add-on Multi Process Status:') }} {{ addon.feature_compatibility.get_e10s_display() }} ?
  • {% endif %}