{% 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_PENDING %} {{ status_and_tip(addon, _('You will receive an email when the review is complete.')) }} {% elif addon.status == amo.STATUS_UNREVIEWED %} {{ 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_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')) }} {% elif addon.status == amo.STATUS_LITE %} {{ status_and_tip(addon, _("Your add-on is displayed in our gallery as experimental " "and users are receiving automatic updates. Some features " "are unavailable to your add-on.") if addon.is_listed else _('Your add-on has been signed.')) }} {% elif addon.status == amo.STATUS_LITE_AND_NOMINATED %} {{ status_and_tip(addon, _("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.") if addon.is_listed else _("You will receive an email when the full review is " "complete, making you able to bundle your add-on with an " "application installer.")) }} {% elif addon.status == amo.STATUS_PURGATORY %} {{ status_and_tip(addon, _("All add-ons hosted in our gallery must now be reviewed by an " "editor. If you wish to continue hosting your add-on, please " "click to select a review process.")) }} {% 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 sorting == 'created' %}
  • {{ _('Created:') }} {# L10n: {0} is a date. dennis-ignore: E201 #} {{ addon.created|datetime(_('%%b %%e, %%Y')) }}
  • {% else %}
  • {{ _('Last Updated:') }} {# L10n: {0} is a date. dennis-ignore: E201 #} {{ addon.last_updated|datetime(_('%%b %%e, %%Y')) }}
  • {% endif %} {% if addon.latest_version and addon.latest_version != addon.current_version %}
  • {{ _('Next Version:') }} {{ link_if_listed_else_text(addon.latest_version, addon.latest_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 %}