{% from "includes/forms.html" import tip %} {% macro status_and_tip(addon) %} {% if addon.status == amo.STATUS_NULL %} {% set url = url('devhub.submit.resume', addon.slug) %} {% else %} {% set url = addon.get_dev_url('versions') %} {% endif %} {% if addon.status != amo.STATUS_DISABLED and addon.disabled_by_user %} {% set status_text = _('Invisible') %} {% set tooltip_text = status_tips['invisible'] %} {% else %} {% set status_text = addon.STATUS_CHOICES[addon.status] %} {% set tooltip_text = status_tips[addon.status] %} {% endif %} {{ status_text }} ? {% endmacro %} {% set status_tips = { amo.STATUS_NULL: _('Please complete your add-on.'), amo.STATUS_NOMINATED: _("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. "), amo.STATUS_PUBLIC: _("Your add-on is displayed in our gallery and users are " "receiving automatic updates."), amo.STATUS_DISABLED: _("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."), amo.STATUS_DELETED: '', 'invisible': _("Your add-on won't be included in search results, and its " "listing page will indicate you disabled it. New version " "submissions for listing won't be accepted in this state."), } %} {% 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 %} {% if addon.has_listed_versions() %} {% if addon.has_unlisted_versions() %}
  • AMO
  • {% endif %}
  • {{ _('Status:') }} {{ status_and_tip(addon) }}
  • {% 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.status == amo.STATUS_DISABLED and not addon.has_listed_versions() %}
  • {{ _('Status:') }} {{ status_and_tip(addon) }}
  • {% endif %} {% set latest_unlisted_version=addon.find_latest_version(channel=amo.RELEASE_CHANNEL_UNLISTED) %} {% if latest_unlisted_version %} {% if addon.has_listed_versions() %}
  • Self
  • {% endif %}
  • {{ _('Lastest Version:') }} {{ latest_unlisted_version.version }} ?
  • {% endif %}