{% from "includes/forms.html" import tip %} {% from "devhub/includes/macros.html" import link_if_listed_else_text %} {% 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 %}
  • {{ _('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. ") if addon.is_listed else _("You will receive an email when the review is " "complete and your add-on is signed.")) }} {% elif addon.status == amo.STATUS_PUBLIC %} {{ status_and_tip(addon, _("Your add-on is displayed in our gallery and users are " "receiving automatic updates.") if addon.is_listed else _("Your add-on has been signed and can be bundled with an " "application installer.")) }} {% 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."), url=(addon.get_dev_url('versions') + '#version-upload')) }} {% endif %}
  • {{ _('Visibility:') }} {% if not addon.is_disabled and addon.is_listed %} {{ _('Listed') }} {% elif addon.is_disabled and addon.is_listed %} {{ _('Hidden') }} {% elif not addon.is_listed %} {{ _('Unlisted') }} {% endif %}
  • {% if addon.current_version %}
  • {{ _('Current Version:') }} {{ link_if_listed_else_text(addon.current_version, addon.current_version) }} ?
  • {% endif %} {% if addon.type == amo.ADDON_EXTENSION and amo.FIREFOX in addon.compatible_apps %}
  • {{ _('Multi Process Status:') }} {{ addon.feature_compatibility.get_e10s_display() }} ?
  • {% 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 %} {% 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 Version:') }} {{ link_if_listed_else_text(latest_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 %}